var $intern_178 = '-', $intern_198 = '-selected', $intern_204 = '1px', $intern_202 = 'aria-haspopup', $intern_199 = 'colSpan', $intern_185 = 'cwMenuBar', $intern_179 = 'cwMenuBarEditOptions', $intern_180 = 'cwMenuBarFileOptions', $intern_181 = 'cwMenuBarFileRecents', $intern_182 = 'cwMenuBarGWTOptions', $intern_183 = 'cwMenuBarHelpOptions', $intern_184 = 'cwMenuBarPrompts', $intern_197 = 'gwt-MenuBar', $intern_190 = 'offsetHeight', $intern_189 = 'offsetWidth', $intern_201 = 'popupContent', $intern_203 = 'px, ', $intern_196 = 'role', $intern_186 = 'runCallbacks1', $intern_200 = 'subMenuIcon-selected', $intern_192 = 'table', $intern_193 = 'tbody', $intern_195 = 'td', $intern_194 = 'tr', $intern_188 = 'visibility', $intern_191 = 'visible';
function com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static, style, add){
  com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this$static.getStyleElement__Lcom_google_gwt_user_client_Element_2(), style, add);
}

function com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(elem){
  var fullClassName, spaceIdx;
  fullClassName = elem[$intern_21] == null?null:String(elem[$intern_21]);
  spaceIdx = fullClassName.indexOf(java_lang_String_fromCodePoint__ILjava_lang_String_2(32));
  if (spaceIdx >= 0) {
    return fullClassName.substr(0, spaceIdx - 0);
  }
  return fullClassName;
}

function com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(elem, style){
  if (!elem) {
    throw new java_lang_RuntimeException_RuntimeException__Ljava_lang_String_2V($intern_0);
  }
  style = java_lang_String_$trim__Ljava_lang_String_2Ljava_lang_String_2(style);
  if (style.length == 0) {
    throw new java_lang_IllegalArgumentException_IllegalArgumentException__Ljava_lang_String_2V($intern_1);
  }
  com_google_gwt_user_client_ui_UIObject_updatePrimaryAndDependentStyleNames__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(elem, style);
}

function com_google_gwt_user_client_ui_UIObject_updatePrimaryAndDependentStyleNames__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(elem, newPrimaryStyle){
  var classes = elem.className.split(/\s+/);
  if (!classes) {
    return;
  }
  var oldPrimaryStyle = classes[0];
  var oldPrimaryStyleLen = oldPrimaryStyle.length;
  classes[0] = newPrimaryStyle;
  for (var i = 1, n = classes.length; i < n; i++) {
    var name = classes[i];
    name.length > oldPrimaryStyleLen && name.charAt(oldPrimaryStyleLen) == $intern_178 && name.indexOf(oldPrimaryStyle) == 0 && (classes[i] = newPrimaryStyle + name.substring(oldPrimaryStyleLen));
  }
  elem.className = classes.join($intern_38);
}

_ = com_google_gwt_user_client_ui_UIObject.prototype;
_.getStyleElement__Lcom_google_gwt_user_client_Element_2 = function com_google_gwt_user_client_ui_UIObject_getStyleElement__Lcom_google_gwt_user_client_Element_2(){
  return this.com_google_gwt_user_client_ui_UIObject_element;
}
;
_.onEnsureDebugId__Ljava_lang_String_2V = function com_google_gwt_user_client_ui_UIObject_onEnsureDebugId__Ljava_lang_String_2V(baseID){
  com_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_$ensureDebugId__Lcom_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_UIObject_element, $intern_3, baseID);
}
;
_.setHeight__Ljava_lang_String_2V = function com_google_gwt_user_client_ui_UIObject_setHeight__Ljava_lang_String_2V(height){
  this.com_google_gwt_user_client_ui_UIObject_element.style[$intern_77] = height;
}
;
_.setWidth__Ljava_lang_String_2V = function com_google_gwt_user_client_ui_UIObject_setWidth__Ljava_lang_String_2V(width){
  this.com_google_gwt_user_client_ui_UIObject_element.style[$intern_76] = width;
}
;
_ = com_google_gwt_user_client_ui_SimplePanel.prototype;
_.setWidget__Lcom_google_gwt_user_client_ui_Widget_2V = function com_google_gwt_user_client_ui_SimplePanel_setWidget__Lcom_google_gwt_user_client_ui_Widget_2V(w){
  com_google_gwt_user_client_ui_SimplePanel_$setWidget__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this, w);
}
;
function com_fzy_client_ContentWidget$4_$onSuccess__Lcom_fzy_client_ContentWidget$4_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static, result){
  this$static.com_fzy_client_ContentWidget$4_this$0.com_fzy_client_ContentWidget_widgetInitializing = false;
  this$static.com_fzy_client_ContentWidget$4_this$0.com_fzy_client_ContentWidget_widgetInitialized = true;
  !!result && (this$static.com_fzy_client_ContentWidget$4_this$0.com_fzy_client_ContentWidget_view.com_fzy_client_ContentWidgetView_examplePanel.setWidget__Lcom_google_gwt_user_client_ui_Widget_2V(result) , undefined);
}

function com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarEditOptions__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static){
  var args, writer;
  args = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_AbstractHashMap_$get__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_179), 5);
  if (args == null) {
    writer = com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2ILcom_google_gwt_lang_Array_2Lcom_google_gwt_lang_Array_2(com_google_gwt_lang_ClassLiteralHolder__13Ljava_1lang_1String_12_1classLit, {5:1, 12:1}, 1, ['\u64A4\u6D88', '\u91CD\u590D', '\u526A\u5207', '\u590D\u5236', '\u7C98\u8D34']);
    java_util_AbstractHashMap_$put__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_179, writer);
    return writer;
  }
   else {
    return args;
  }
}

function com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarFileOptions__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static){
  var args, writer;
  args = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_AbstractHashMap_$get__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_180), 5);
  if (args == null) {
    writer = com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2ILcom_google_gwt_lang_Array_2Lcom_google_gwt_lang_Array_2(com_google_gwt_lang_ClassLiteralHolder__13Ljava_1lang_1String_12_1classLit, {5:1, 12:1}, 1, ['\u65B0\u5EFA', '\u6253\u5F00', '\u5173\u95ED', '\u8FD1\u671F\u6587\u4EF6', '\u9000\u51FA']);
    java_util_AbstractHashMap_$put__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_180, writer);
    return writer;
  }
   else {
    return args;
  }
}

function com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarFileRecents__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static){
  var args, writer;
  args = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_AbstractHashMap_$get__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_181), 5);
  if (args == null) {
    writer = com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2ILcom_google_gwt_lang_Array_2Lcom_google_gwt_lang_Array_2(com_google_gwt_lang_ClassLiteralHolder__13Ljava_1lang_1String_12_1classLit, {5:1, 12:1}, 1, ['Fishing in the desert.txt', 'How to tame a wild parrot', 'Idiots Guide to Emu Farms']);
    java_util_AbstractHashMap_$put__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_181, writer);
    return writer;
  }
   else {
    return args;
  }
}

function com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarGWTOptions__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static){
  var args, writer;
  args = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_AbstractHashMap_$get__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_182), 5);
  if (args == null) {
    writer = com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2ILcom_google_gwt_lang_Array_2Lcom_google_gwt_lang_Array_2(com_google_gwt_lang_ClassLiteralHolder__13Ljava_1lang_1String_12_1classLit, {5:1, 12:1}, 1, ['\u4E0B\u8F7D', $intern_22, $intern_24, 'GWT \u9AD8\u624B\u7A0B\u5E8F']);
    java_util_AbstractHashMap_$put__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_182, writer);
    return writer;
  }
   else {
    return args;
  }
}

function com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarHelpOptions__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static){
  var args, writer;
  args = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_AbstractHashMap_$get__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_183), 5);
  if (args == null) {
    writer = com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2ILcom_google_gwt_lang_Array_2Lcom_google_gwt_lang_Array_2(com_google_gwt_lang_ClassLiteralHolder__13Ljava_1lang_1String_12_1classLit, {5:1, 12:1}, 1, ['\u5185\u5BB9', '\u5E78\u8FD0\u997C', '\u5173\u4E8EGWT']);
    java_util_AbstractHashMap_$put__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_183, writer);
    return writer;
  }
   else {
    return args;
  }
}

function com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarPrompts__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static){
  var args, writer;
  args = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_AbstractHashMap_$get__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_184), 5);
  if (args == null) {
    writer = com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2ILcom_google_gwt_lang_Array_2Lcom_google_gwt_lang_Array_2(com_google_gwt_lang_ClassLiteralHolder__13Ljava_1lang_1String_12_1classLit, {5:1, 12:1}, 1, ['\u611F\u8C22\u60A8\u9009\u62E9\u83DC\u5355\u9879', '\u9009\u5F97\u5F88\u4E0D\u9519', '\u9664\u4E86\u9009\u62E9\u83DC\u5355\u9879\u4E4B\u5916\u96BE\u9053\u6CA1\u6709\u66F4\u597D\u7684\u9009\u62E9\uFF1F', '\u8BD5\u8BD5\u522B\u7684\u5427', '\u8FD9\u4E0D\u8FC7\u662F\u4E2A\u83DC\u5355\u800C\u5DF2\uFF01', '\u53C8\u6D6A\u8D39\u4E86\u4E00\u6B21\u70B9\u51FB']);
    java_util_AbstractHashMap_$put__Ljava_util_AbstractHashMap_2Ljava_lang_Object_2Ljava_lang_Object_2Ljava_lang_Object_2(this$static.com_fzy_client_ShowcaseConstants_1zh_cache, $intern_184, writer);
    return writer;
  }
   else {
    return args;
  }
}

function com_fzy_client_menu_CwMenuBar_$onInitialize__Lcom_fzy_client_menu_CwMenuBar_2Lcom_google_gwt_user_client_ui_Widget_2(this$static){
  var editMenu, editOptions, fileMenu, fileOptions, gwtMenu, gwtOptions, helpMenu, helpOptions, i, menu, menuCommand, recentDocs, recentDocsMenu;
  menuCommand = new com_fzy_client_menu_CwMenuBar$1_CwMenuBar$1__Lcom_fzy_client_menu_CwMenuBar_2V(this$static);
  menu = new com_google_gwt_user_client_ui_MenuBar_MenuBar__V;
  menu.com_google_gwt_user_client_ui_MenuBar_autoOpen = true;
  menu.com_google_gwt_user_client_ui_UIObject_element.style[$intern_76] = '500px';
  menu.com_google_gwt_user_client_ui_MenuBar_isAnimationEnabled = true;
  recentDocsMenu = new com_google_gwt_user_client_ui_MenuBar_MenuBar__ZV(true);
  recentDocs = com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarFileRecents__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static.com_fzy_client_menu_CwMenuBar_constants);
  for (i = 0; i < recentDocs.length; ++i) {
    com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(recentDocsMenu, new com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_Command_2V(recentDocs[i], menuCommand));
  }
  fileMenu = new com_google_gwt_user_client_ui_MenuBar_MenuBar__ZV(true);
  fileMenu.com_google_gwt_user_client_ui_MenuBar_isAnimationEnabled = true;
  com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(menu, new com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_MenuBar_2V('\u6587\u4EF6', fileMenu));
  fileOptions = com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarFileOptions__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static.com_fzy_client_menu_CwMenuBar_constants);
  for (i = 0; i < fileOptions.length; ++i) {
    if (i == 3) {
      com_google_gwt_user_client_ui_MenuBar_$addSeparator__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItemSeparator_2Lcom_google_gwt_user_client_ui_MenuItemSeparator_2(fileMenu, new com_google_gwt_user_client_ui_MenuItemSeparator_MenuItemSeparator__V);
      com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(fileMenu, new com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_MenuBar_2V(fileOptions[3], recentDocsMenu));
      com_google_gwt_user_client_ui_MenuBar_$addSeparator__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItemSeparator_2Lcom_google_gwt_user_client_ui_MenuItemSeparator_2(fileMenu, new com_google_gwt_user_client_ui_MenuItemSeparator_MenuItemSeparator__V);
    }
     else {
      com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(fileMenu, new com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_Command_2V(fileOptions[i], menuCommand));
    }
  }
  editMenu = new com_google_gwt_user_client_ui_MenuBar_MenuBar__ZV(true);
  com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(menu, new com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_MenuBar_2V('\u7F16\u8F91', editMenu));
  editOptions = com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarEditOptions__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static.com_fzy_client_menu_CwMenuBar_constants);
  for (i = 0; i < editOptions.length; ++i) {
    com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(editMenu, new com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_Command_2V(editOptions[i], menuCommand));
  }
  gwtMenu = new com_google_gwt_user_client_ui_MenuBar_MenuBar__ZV(true);
  com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(menu, new com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2ZLcom_google_gwt_user_client_ui_MenuBar_2V(gwtMenu));
  gwtOptions = com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarGWTOptions__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static.com_fzy_client_menu_CwMenuBar_constants);
  for (i = 0; i < gwtOptions.length; ++i) {
    com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(gwtMenu, new com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_Command_2V(gwtOptions[i], menuCommand));
  }
  helpMenu = new com_google_gwt_user_client_ui_MenuBar_MenuBar__ZV(true);
  com_google_gwt_user_client_ui_MenuBar_$addSeparator__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItemSeparator_2Lcom_google_gwt_user_client_ui_MenuItemSeparator_2(menu, new com_google_gwt_user_client_ui_MenuItemSeparator_MenuItemSeparator__V);
  com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(menu, new com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_MenuBar_2V('\u5E2E\u52A9', helpMenu));
  helpOptions = com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarHelpOptions__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this$static.com_fzy_client_menu_CwMenuBar_constants);
  for (i = 0; i < helpOptions.length; ++i) {
    com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(helpMenu, new com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_Command_2V(helpOptions[i], menuCommand));
  }
  com_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_$ensureDebugId__Lcom_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(menu.com_google_gwt_user_client_ui_UIObject_element, $intern_3, $intern_185);
  com_google_gwt_user_client_ui_MenuBar_$setMenuItemDebugIds__Lcom_google_gwt_user_client_ui_MenuBar_2Ljava_lang_String_2V(menu, $intern_185);
  return menu;
}

function com_fzy_client_menu_CwMenuBar$1_$execute__Lcom_fzy_client_menu_CwMenuBar$1_2V(this$static){
  $wnd.alert(this$static.com_fzy_client_menu_CwMenuBar$1_phrases[this$static.com_fzy_client_menu_CwMenuBar$1_curPhrase]);
  this$static.com_fzy_client_menu_CwMenuBar$1_curPhrase = (this$static.com_fzy_client_menu_CwMenuBar$1_curPhrase + 1) % this$static.com_fzy_client_menu_CwMenuBar$1_phrases.length;
}

function com_fzy_client_menu_CwMenuBar$1_CwMenuBar$1__Lcom_fzy_client_menu_CwMenuBar_2V(this$0){
  this.com_fzy_client_menu_CwMenuBar$1_this$0 = this$0;
  this.com_fzy_client_menu_CwMenuBar$1_phrases = com_fzy_client_ShowcaseConstants_1zh_$cwMenuBarPrompts__Lcom_fzy_client_ShowcaseConstants_1zh_2_3Ljava_lang_String_2(this.com_fzy_client_menu_CwMenuBar$1_this$0.com_fzy_client_menu_CwMenuBar_constants);
}

function com_fzy_client_menu_CwMenuBar$1(){
}

_ = com_fzy_client_menu_CwMenuBar$1_CwMenuBar$1__Lcom_fzy_client_menu_CwMenuBar_2V.prototype = com_fzy_client_menu_CwMenuBar$1.prototype = new java_lang_Object;
_.execute__V = function com_fzy_client_menu_CwMenuBar$1_execute__V(){
  $wnd.alert(this.com_fzy_client_menu_CwMenuBar$1_phrases[this.com_fzy_client_menu_CwMenuBar$1_curPhrase]);
  this.com_fzy_client_menu_CwMenuBar$1_curPhrase = (this.com_fzy_client_menu_CwMenuBar$1_curPhrase + 1) % this.com_fzy_client_menu_CwMenuBar$1_phrases.length;
}
;
_.getClass__Ljava_lang_Class_2$ = function com_fzy_client_menu_CwMenuBar$1_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1fzy_1client_1menu_1CwMenuBar$1_12_1classLit;
}
;
_.java_lang_Object_castableTypeMap$ = {64:1};
_.com_fzy_client_menu_CwMenuBar$1_curPhrase = 0;
_.com_fzy_client_menu_CwMenuBar$1_this$0 = null;
function com_fzy_client_menu_CwMenuBar$2_$onSuccess__Lcom_fzy_client_menu_CwMenuBar$2_2V(this$static){
  com_fzy_client_ContentWidget$4_$onSuccess__Lcom_fzy_client_ContentWidget$4_2Lcom_google_gwt_user_client_ui_Widget_2V(this$static.com_fzy_client_menu_CwMenuBar$2_val$callback, com_fzy_client_menu_CwMenuBar_$onInitialize__Lcom_fzy_client_menu_CwMenuBar_2Lcom_google_gwt_user_client_ui_Widget_2(this$static.com_fzy_client_menu_CwMenuBar$2_this$0));
}

function com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteLeft__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2I(elem){
  return com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteLeftImpl__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2I(com_google_gwt_dom_client_Document_$getViewportElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_Element_2(elem.ownerDocument), elem);
}

function com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteLeftImpl__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2I(viewport, elem){
  if (Element.prototype.getBoundingClientRect) {
    return elem.getBoundingClientRect().left + viewport.scrollLeft | 0;
  }
   else {
    var doc = elem.ownerDocument;
    return doc.getBoxObjectFor(elem).screenX - doc.getBoxObjectFor(doc.documentElement).screenX;
  }
}

function com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteTop__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2I(elem){
  return com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteTopImpl__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2I(com_google_gwt_dom_client_Document_$getViewportElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_Element_2(elem.ownerDocument), elem);
}

function com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteTopImpl__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2I(viewport, elem){
  if (Element.prototype.getBoundingClientRect) {
    return elem.getBoundingClientRect().top + viewport.scrollTop | 0;
  }
   else {
    var doc = elem.ownerDocument;
    return doc.getBoxObjectFor(elem).screenY - doc.getBoxObjectFor(doc.documentElement).screenY;
  }
}

function com_google_gwt_dom_client_Document_$getScrollHeight__Lcom_google_gwt_dom_client_Document_2I(this$static){
  return (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(this$static.compatMode, $intern_39)?this$static.documentElement:this$static.body).scrollHeight || 0;
}

function com_google_gwt_dom_client_Document_$getScrollWidth__Lcom_google_gwt_dom_client_Document_2I(this$static){
  return (java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(this$static.compatMode, $intern_39)?this$static.documentElement:this$static.body).scrollWidth || 0;
}

function com_google_gwt_dom_client_Document_$getViewportElement__Lcom_google_gwt_dom_client_Document_2Lcom_google_gwt_dom_client_Element_2(this$static){
  return java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z(this$static.compatMode, $intern_39)?this$static.documentElement:this$static.body;
}

function com_google_gwt_event_dom_client_BlurEvent_$clinit__V(){
  com_google_gwt_event_dom_client_BlurEvent_$clinit__V = nullMethod;
  com_google_gwt_event_dom_client_BlurEvent_TYPE = new com_google_gwt_event_dom_client_DomEvent$Type_DomEvent$Type__Ljava_lang_String_2Lcom_google_gwt_event_dom_client_DomEvent_2V($intern_92, new com_google_gwt_event_dom_client_BlurEvent_BlurEvent__V);
}

function com_google_gwt_event_dom_client_BlurEvent_$dispatch__Lcom_google_gwt_event_dom_client_BlurEvent_2Lcom_google_gwt_event_dom_client_BlurHandler_2V(handler){
  !handler.com_google_gwt_user_client_ui_MenuBar$2_this$0.com_google_gwt_user_client_ui_MenuBar_shownChildMenu && com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(handler.com_google_gwt_user_client_ui_MenuBar$2_this$0, null);
}

function com_google_gwt_event_dom_client_BlurEvent_BlurEvent__V(){
}

function com_google_gwt_event_dom_client_BlurEvent(){
}

_ = com_google_gwt_event_dom_client_BlurEvent_BlurEvent__V.prototype = com_google_gwt_event_dom_client_BlurEvent.prototype = new com_google_gwt_event_dom_client_DomEvent;
_.dispatch__Lcom_google_gwt_event_shared_EventHandler_2V = function com_google_gwt_event_dom_client_BlurEvent_dispatch__Lcom_google_gwt_event_shared_EventHandler_2V(handler){
  com_google_gwt_event_dom_client_BlurEvent_$dispatch__Lcom_google_gwt_event_dom_client_BlurEvent_2Lcom_google_gwt_event_dom_client_BlurHandler_2V(com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(handler, 18));
}
;
_.getAssociatedType__Lcom_google_gwt_event_dom_client_DomEvent$Type_2 = function com_google_gwt_event_dom_client_BlurEvent_getAssociatedType__Lcom_google_gwt_event_dom_client_DomEvent$Type_2(){
  return com_google_gwt_event_dom_client_BlurEvent_TYPE;
}
;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_event_dom_client_BlurEvent_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1dom_1client_1BlurEvent_12_1classLit;
}
;
_.java_lang_Object_castableTypeMap$ = {};
var com_google_gwt_event_dom_client_BlurEvent_TYPE;
function com_google_gwt_lang_asyncloaders_AsyncLoader1_$runCallbacks__Lcom_google_gwt_lang_asyncloaders_AsyncLoader1_2V(){
  var next;
  while (com_google_gwt_lang_asyncloaders_AsyncLoader1_callbacksHead) {
    next = com_google_gwt_lang_asyncloaders_AsyncLoader1_callbacksHead;
    com_google_gwt_lang_asyncloaders_AsyncLoader1_callbacksHead = com_google_gwt_lang_asyncloaders_AsyncLoader1_callbacksHead.com_google_gwt_lang_asyncloaders_AsyncLoader1_1_1Callback_next;
    !com_google_gwt_lang_asyncloaders_AsyncLoader1_callbacksHead && (com_google_gwt_lang_asyncloaders_AsyncLoader1_callbacksTail = null);
    com_fzy_client_menu_CwMenuBar$2_$onSuccess__Lcom_fzy_client_menu_CwMenuBar$2_2V(next.com_google_gwt_lang_asyncloaders_AsyncLoader1_1_1Callback_callback);
  }
}

function com_google_gwt_lang_asyncloaders_AsyncLoader1_AsyncLoader1__V(){
}

function com_google_gwt_lang_asyncloaders_AsyncLoader1_onLoad__V(){
  com_google_gwt_lang_asyncloaders_AsyncLoader1_instance = new com_google_gwt_lang_asyncloaders_AsyncLoader1_AsyncLoader1__V;
  com_google_gwt_core_client_impl_AsyncFragmentLoader_$fragmentHasLoaded__Lcom_google_gwt_core_client_impl_AsyncFragmentLoader_2IV((com_google_gwt_core_client_impl_AsyncFragmentLoader_$clinit__V() , com_google_gwt_core_client_impl_AsyncFragmentLoader_BROWSER_1LOADER), 1);
  !!$stats && $stats(com_google_gwt_core_client_impl_AsyncFragmentLoader$StandardLogger_$createStatsEvent__Lcom_google_gwt_core_client_impl_AsyncFragmentLoader$StandardLogger_2Ljava_lang_String_2Ljava_lang_String_2IILcom_google_gwt_core_client_JavaScriptObject_2($intern_186, $intern_32, -1, -1));
  com_google_gwt_lang_asyncloaders_AsyncLoader1_instance.runCallbacks__V();
  !!$stats && $stats(com_google_gwt_core_client_impl_AsyncFragmentLoader$StandardLogger_$createStatsEvent__Lcom_google_gwt_core_client_impl_AsyncFragmentLoader$StandardLogger_2Ljava_lang_String_2Ljava_lang_String_2IILcom_google_gwt_core_client_JavaScriptObject_2($intern_186, $intern_187, -1, -1));
}

function com_google_gwt_lang_asyncloaders_AsyncLoader1(){
}

_ = com_google_gwt_lang_asyncloaders_AsyncLoader1_AsyncLoader1__V.prototype = com_google_gwt_lang_asyncloaders_AsyncLoader1.prototype = new java_lang_Object;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_lang_asyncloaders_AsyncLoader1_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1lang_1asyncloaders_1AsyncLoader1_12_1classLit;
}
;
_.runCallbacks__V = function com_google_gwt_lang_asyncloaders_AsyncLoader1_runCallbacks__V(){
  com_google_gwt_lang_asyncloaders_AsyncLoader1_$runCallbacks__Lcom_google_gwt_lang_asyncloaders_AsyncLoader1_2V();
}
;
_.java_lang_Object_castableTypeMap$ = {};
function com_google_gwt_user_client_BaseListenerWrapper(){
}

_ = com_google_gwt_user_client_BaseListenerWrapper.prototype = new java_lang_Object;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_BaseListenerWrapper_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1BaseListenerWrapper_12_1classLit;
}
;
_.java_lang_Object_castableTypeMap$ = {81:1};
_.com_google_gwt_user_client_BaseListenerWrapper_listener = null;
function com_google_gwt_user_client_DOM_isOrHasChild__Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_Element_2Z(parent, child){
  return parent === child || !!(parent.compareDocumentPosition(child) & 16);
}

function com_google_gwt_user_client_History_addValueChangeHandler__Lcom_google_gwt_event_logical_shared_ValueChangeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(handler){
  com_google_gwt_user_client_History_$clinit__V();
  return com_google_gwt_user_client_History_impl?com_google_gwt_user_client_impl_HistoryImpl_$addValueChangeHandler__Lcom_google_gwt_user_client_impl_HistoryImpl_2Lcom_google_gwt_event_logical_shared_ValueChangeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(com_google_gwt_user_client_History_impl, handler):null;
}

function com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2ILcom_google_gwt_user_client_Element_2(elem, index){
  var count = 0, child = elem.firstChild;
  while (child) {
    if (child.nodeType == 1) {
      if (index == count)
        return child;
      ++count;
    }
    child = child.nextSibling;
  }
  return null;
}

function com_google_gwt_user_client_impl_DOMImplStandard_$getChildCount__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2I(elem){
  var count = 0, child = elem.firstChild;
  while (child) {
    child.nodeType == 1 && ++count;
    child = child.nextSibling;
  }
  return count;
}

function com_google_gwt_user_client_ui_PopupPanel_$clinit__V(){
  com_google_gwt_user_client_ui_PopupPanel_$clinit__V = nullMethod;
  com_google_gwt_user_client_ui_impl_PopupImplMozilla_$clinit__V();
}

function com_google_gwt_user_client_ui_PopupPanel_$eventTargetsPopup__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_dom_client_NativeEvent_2Z(this$static, event){
  var target;
  target = event.target;
  if (com_google_gwt_dom_client_Element_is__Lcom_google_gwt_core_client_JavaScriptObject_2Z(target)) {
    return com_google_gwt_dom_client_DOMImplMozilla_$isOrHasChild__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Node_2Z(this$static.com_google_gwt_user_client_ui_UIObject_element, target);
  }
  return false;
}

function com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static, autoClosed){
  if (!this$static.com_google_gwt_user_client_ui_PopupPanel_showing) {
    return;
  }
  com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$setState__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2ZZV(this$static.com_google_gwt_user_client_ui_PopupPanel_resizeAnimation, false, false);
  com_google_gwt_event_logical_shared_CloseEvent_fire__Lcom_google_gwt_event_logical_shared_HasCloseHandlers_2Ljava_lang_Object_2ZV(this$static, autoClosed);
}

function com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static){
  var w;
  w = this$static.com_google_gwt_user_client_ui_SimplePanel_widget;
  if (w) {
    this$static.com_google_gwt_user_client_ui_PopupPanel_desiredHeight != null && w.setHeight__Ljava_lang_String_2V(this$static.com_google_gwt_user_client_ui_PopupPanel_desiredHeight);
    this$static.com_google_gwt_user_client_ui_PopupPanel_desiredWidth != null && w.setWidth__Ljava_lang_String_2V(this$static.com_google_gwt_user_client_ui_PopupPanel_desiredWidth);
  }
}

function com_google_gwt_user_client_ui_PopupPanel_$previewNativeEvent__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(this$static, event){
  var eventTargetsPopupOrPartner, nativeEvent, target, type;
  if (event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled || !this$static.com_google_gwt_user_client_ui_PopupPanel_previewAllNativeEvents && event.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed) {
    this$static.com_google_gwt_user_client_ui_PopupPanel_modal && (event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true);
    return;
  }
  this$static.onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(event);
  if (event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled) {
    return;
  }
  nativeEvent = event.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent;
  eventTargetsPopupOrPartner = com_google_gwt_user_client_ui_PopupPanel_$eventTargetsPopup__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_dom_client_NativeEvent_2Z(this$static, nativeEvent);
  eventTargetsPopupOrPartner && (event.com_google_gwt_user_client_Event$NativePreviewEvent_isConsumed = true);
  this$static.com_google_gwt_user_client_ui_PopupPanel_modal && (event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true);
  type = com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(nativeEvent.type);
  switch (type) {
    case 512:
    case 256:
    case 128:
      {
        return;
      }

    case 4:
      if (!eventTargetsPopupOrPartner && this$static.com_google_gwt_user_client_ui_PopupPanel_autoHide) {
        com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static, true);
        return;
      }

      break;
    case 2048:
      {
        target = nativeEvent.target;
        if (this$static.com_google_gwt_user_client_ui_PopupPanel_modal && !eventTargetsPopupOrPartner && !!target) {
          target.blur && target != $doc.body && target.blur();
          event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true;
          return;
        }
        break;
      }

  }
}

function com_google_gwt_user_client_ui_PopupPanel_$setPopupPosition__Lcom_google_gwt_user_client_ui_PopupPanel_2IIV(this$static, left, top){
  var elem;
  this$static.com_google_gwt_user_client_ui_PopupPanel_leftPosition = left;
  this$static.com_google_gwt_user_client_ui_PopupPanel_topPosition = top;
  left -= com_google_gwt_dom_client_DOMImplMozilla_$getBodyOffsetLeft__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Document_2I($doc);
  top -= com_google_gwt_dom_client_DOMImplMozilla_$getBodyOffsetTop__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Document_2I($doc);
  elem = this$static.com_google_gwt_user_client_ui_UIObject_element;
  elem.style[$intern_69] = left + (com_google_gwt_dom_client_Style$Unit_$clinit__V() , $intern_9);
  elem.style[$intern_70] = top + $intern_9;
}

function com_google_gwt_user_client_ui_PopupPanel_$setPopupPositionAndShow__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_ui_PopupPanel$PositionCallback_2V(this$static, callback){
  this$static.com_google_gwt_user_client_ui_UIObject_element.style[$intern_188] = $intern_68;
  this$static.com_google_gwt_user_client_ui_UIObject_element;
  com_google_gwt_user_client_ui_PopupPanel_$show__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static);
  com_google_gwt_user_client_ui_MenuBar$4_$setPosition__Lcom_google_gwt_user_client_ui_MenuBar$4_2IIV(callback, (parseInt(this$static.com_google_gwt_user_client_ui_UIObject_element[$intern_189]) || 0 , parseInt(this$static.com_google_gwt_user_client_ui_UIObject_element[$intern_190]) || 0));
  this$static.com_google_gwt_user_client_ui_UIObject_element.style[$intern_188] = $intern_191;
  this$static.com_google_gwt_user_client_ui_UIObject_element;
}

function com_google_gwt_user_client_ui_PopupPanel_$show__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static){
  if (this$static.com_google_gwt_user_client_ui_PopupPanel_showing) {
    return;
  }
   else 
    this$static.com_google_gwt_user_client_ui_Widget_attached && com_google_gwt_user_client_ui_Widget_$removeFromParent__Lcom_google_gwt_user_client_ui_Widget_2V(this$static);
  com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$setState__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2ZZV(this$static.com_google_gwt_user_client_ui_PopupPanel_resizeAnimation, true, false);
}

function com_google_gwt_user_client_ui_PopupPanel_$updateHandlers__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static){
  if (this$static.com_google_gwt_user_client_ui_PopupPanel_nativePreviewHandlerRegistration) {
    com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_google_gwt_user_client_ui_PopupPanel_nativePreviewHandlerRegistration.com_google_gwt_event_shared_LegacyHandlerWrapper_real);
    this$static.com_google_gwt_user_client_ui_PopupPanel_nativePreviewHandlerRegistration = null;
  }
  if (this$static.com_google_gwt_user_client_ui_PopupPanel_historyHandlerRegistration) {
    com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_google_gwt_user_client_ui_PopupPanel_historyHandlerRegistration.com_google_gwt_event_shared_LegacyHandlerWrapper_real);
    this$static.com_google_gwt_user_client_ui_PopupPanel_historyHandlerRegistration = null;
  }
  if (this$static.com_google_gwt_user_client_ui_PopupPanel_showing) {
    this$static.com_google_gwt_user_client_ui_PopupPanel_nativePreviewHandlerRegistration = com_google_gwt_user_client_Event_addNativePreviewHandler__Lcom_google_gwt_user_client_Event$NativePreviewHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(new com_google_gwt_user_client_ui_PopupPanel$3_PopupPanel$3__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static));
    this$static.com_google_gwt_user_client_ui_PopupPanel_historyHandlerRegistration = com_google_gwt_user_client_History_addValueChangeHandler__Lcom_google_gwt_event_logical_shared_ValueChangeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(new com_google_gwt_user_client_ui_PopupPanel$4_PopupPanel$4__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static));
  }
}

function com_google_gwt_user_client_ui_PopupPanel(){
}

_ = com_google_gwt_user_client_ui_PopupPanel.prototype = new com_google_gwt_user_client_ui_SimplePanel;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_PopupPanel_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel_12_1classLit;
}
;
_.getContainerElement__Lcom_google_gwt_user_client_Element_2 = function com_google_gwt_user_client_ui_PopupPanel_getContainerElement__Lcom_google_gwt_user_client_Element_2(){
  return com_google_gwt_user_client_ui_impl_PopupImplMozilla_$getContainerElement__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(this.com_google_gwt_user_client_ui_UIObject_element));
}
;
_.getStyleElement__Lcom_google_gwt_user_client_Element_2 = function com_google_gwt_user_client_ui_PopupPanel_getStyleElement__Lcom_google_gwt_user_client_Element_2(){
  return com_google_gwt_user_client_ui_impl_PopupImplMozilla_$getStyleElement__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(this.com_google_gwt_user_client_ui_UIObject_element));
}
;
_.onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V = function com_google_gwt_user_client_ui_PopupPanel_onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(event){
  event.com_google_gwt_user_client_Event$NativePreviewEvent_isFirstHandler && (event.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent , false) && (event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true);
}
;
_.onUnload__V = function com_google_gwt_user_client_ui_PopupPanel_onUnload__V(){
  this.com_google_gwt_user_client_ui_PopupPanel_showing && com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$setState__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2ZZV(this.com_google_gwt_user_client_ui_PopupPanel_resizeAnimation, false, true);
}
;
_.setHeight__Ljava_lang_String_2V = function com_google_gwt_user_client_ui_PopupPanel_setHeight__Ljava_lang_String_2V(height){
  this.com_google_gwt_user_client_ui_PopupPanel_desiredHeight = height;
  com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this);
  height.length == 0 && (this.com_google_gwt_user_client_ui_PopupPanel_desiredHeight = null);
}
;
_.setWidget__Lcom_google_gwt_user_client_ui_Widget_2V = function com_google_gwt_user_client_ui_PopupPanel_setWidget__Lcom_google_gwt_user_client_ui_Widget_2V(w){
  com_google_gwt_user_client_ui_SimplePanel_$setWidget__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this, w);
  com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this);
}
;
_.setWidth__Ljava_lang_String_2V = function com_google_gwt_user_client_ui_PopupPanel_setWidth__Ljava_lang_String_2V(width){
  this.com_google_gwt_user_client_ui_PopupPanel_desiredWidth = width;
  com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this);
  width.length == 0 && (this.com_google_gwt_user_client_ui_PopupPanel_desiredWidth = null);
}
;
_.java_lang_Object_castableTypeMap$ = {8:1, 9:1, 10:1, 11:1, 53:1, 54:1, 71:1, 74:1};
_.com_google_gwt_user_client_ui_PopupPanel_animType = 0;
_.com_google_gwt_user_client_ui_PopupPanel_autoHide = false;
_.com_google_gwt_user_client_ui_PopupPanel_autoHideOnHistoryEvents = false;
_.com_google_gwt_user_client_ui_PopupPanel_desiredHeight = null;
_.com_google_gwt_user_client_ui_PopupPanel_desiredWidth = null;
_.com_google_gwt_user_client_ui_PopupPanel_glass = null;
_.com_google_gwt_user_client_ui_PopupPanel_historyHandlerRegistration = null;
_.com_google_gwt_user_client_ui_PopupPanel_isAnimationEnabled = false;
_.com_google_gwt_user_client_ui_PopupPanel_isGlassEnabled = false;
_.com_google_gwt_user_client_ui_PopupPanel_leftPosition = -1;
_.com_google_gwt_user_client_ui_PopupPanel_modal = false;
_.com_google_gwt_user_client_ui_PopupPanel_nativePreviewHandlerRegistration = null;
_.com_google_gwt_user_client_ui_PopupPanel_previewAllNativeEvents = false;
_.com_google_gwt_user_client_ui_PopupPanel_showing = false;
_.com_google_gwt_user_client_ui_PopupPanel_topPosition = -1;
function com_google_gwt_user_client_ui_DecoratedPopupPanel(){
}

_ = com_google_gwt_user_client_ui_DecoratedPopupPanel.prototype = new com_google_gwt_user_client_ui_PopupPanel;
_.doAttachChildren__V = function com_google_gwt_user_client_ui_DecoratedPopupPanel_doAttachChildren__V(){
  com_google_gwt_user_client_ui_Widget_$onAttach__Lcom_google_gwt_user_client_ui_Widget_2V(this.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel);
}
;
_.doDetachChildren__V = function com_google_gwt_user_client_ui_DecoratedPopupPanel_doDetachChildren__V(){
  com_google_gwt_user_client_ui_Widget_$onDetach__Lcom_google_gwt_user_client_ui_Widget_2V(this.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel);
}
;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_DecoratedPopupPanel_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1DecoratedPopupPanel_12_1classLit;
}
;
_.iterator__Ljava_util_Iterator_2 = function com_google_gwt_user_client_ui_DecoratedPopupPanel_iterator__Ljava_util_Iterator_2(){
  return new com_google_gwt_user_client_ui_SimplePanel$1_SimplePanel$1__Lcom_google_gwt_user_client_ui_SimplePanel_2V(this.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel);
}
;
_.remove__Lcom_google_gwt_user_client_ui_Widget_2Z = function com_google_gwt_user_client_ui_DecoratedPopupPanel_remove__Lcom_google_gwt_user_client_ui_Widget_2Z(w){
  return com_google_gwt_user_client_ui_SimplePanel_$remove__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z(this.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel, w);
}
;
_.setWidget__Lcom_google_gwt_user_client_ui_Widget_2V = function com_google_gwt_user_client_ui_DecoratedPopupPanel_setWidget__Lcom_google_gwt_user_client_ui_Widget_2V(w){
  com_google_gwt_user_client_ui_SimplePanel_$setWidget__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel, w);
  com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this);
}
;
_.java_lang_Object_castableTypeMap$ = {8:1, 9:1, 10:1, 11:1, 53:1, 54:1, 71:1, 74:1};
_.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel = null;
function com_google_gwt_user_client_ui_DecoratorPanel_DecoratorPanel___3Ljava_lang_String_2IV(rowStyles){
  var i, row, table, com_google_gwt_user_client_ui_DecoratorPanel_createTR__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2_trElem_0;
  this.com_google_gwt_user_client_ui_UIObject_element = $doc.createElement($intern_192);
  table = this.com_google_gwt_user_client_ui_UIObject_element;
  this.com_google_gwt_user_client_ui_DecoratorPanel_tbody = $doc.createElement($intern_193);
  table.appendChild(this.com_google_gwt_user_client_ui_DecoratorPanel_tbody);
  table['cellSpacing'] = 0;
  table['cellPadding'] = 0;
  for (i = 0; i < rowStyles.length; ++i) {
    row = (com_google_gwt_user_client_ui_DecoratorPanel_createTR__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2_trElem_0 = $doc.createElement($intern_194) , com_google_gwt_user_client_ui_DecoratorPanel_createTR__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2_trElem_0[$intern_21] = rowStyles[i] , com_google_gwt_i18n_client_LocaleInfo_$clinit__V() , com_google_gwt_user_client_ui_DecoratorPanel_createTR__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2_trElem_0.appendChild(com_google_gwt_user_client_ui_DecoratorPanel_createTD__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2(rowStyles[i] + 'Left')) , com_google_gwt_user_client_ui_DecoratorPanel_createTR__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2_trElem_0.appendChild(com_google_gwt_user_client_ui_DecoratorPanel_createTD__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2(rowStyles[i] + 'Center')) , com_google_gwt_user_client_ui_DecoratorPanel_createTR__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2_trElem_0.appendChild(com_google_gwt_user_client_ui_DecoratorPanel_createTD__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2(rowStyles[i] + 'Right')) , com_google_gwt_user_client_ui_DecoratorPanel_createTR__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2_trElem_0);
    this.com_google_gwt_user_client_ui_DecoratorPanel_tbody.appendChild(row);
    i == 1 && (this.com_google_gwt_user_client_ui_DecoratorPanel_containerElem = com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2ILcom_google_gwt_user_client_Element_2(row, 1)));
  }
  this.com_google_gwt_user_client_ui_UIObject_element[$intern_21] = 'gwt-DecoratorPanel';
}

function com_google_gwt_user_client_ui_DecoratorPanel_createTD__Ljava_lang_String_2Lcom_google_gwt_user_client_Element_2(styleName){
  var inner, tdElem;
  tdElem = $doc.createElement($intern_195);
  inner = $doc.createElement($intern_2);
  tdElem.appendChild(inner);
  tdElem[$intern_21] = styleName;
  inner[$intern_21] = styleName + 'Inner';
  return tdElem;
}

function com_google_gwt_user_client_ui_DecoratorPanel(){
}

_ = com_google_gwt_user_client_ui_DecoratorPanel_DecoratorPanel___3Ljava_lang_String_2IV.prototype = com_google_gwt_user_client_ui_DecoratorPanel.prototype = new com_google_gwt_user_client_ui_SimplePanel;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_DecoratorPanel_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1DecoratorPanel_12_1classLit;
}
;
_.getContainerElement__Lcom_google_gwt_user_client_Element_2 = function com_google_gwt_user_client_ui_DecoratorPanel_getContainerElement__Lcom_google_gwt_user_client_Element_2(){
  return this.com_google_gwt_user_client_ui_DecoratorPanel_containerElem;
}
;
_.java_lang_Object_castableTypeMap$ = {8:1, 9:1, 10:1, 11:1, 53:1, 54:1, 74:1};
_.com_google_gwt_user_client_ui_DecoratorPanel_containerElem = null;
_.com_google_gwt_user_client_ui_DecoratorPanel_tbody = null;
_ = com_google_gwt_user_client_ui_ListBox.prototype;
_.onEnsureDebugId__Ljava_lang_String_2V = function com_google_gwt_user_client_ui_ListBox_onEnsureDebugId__Ljava_lang_String_2V(baseID){
  var i, numItems;
  com_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_$ensureDebugId__Lcom_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_UIObject_element, $intern_3, baseID);
  numItems = this.com_google_gwt_user_client_ui_UIObject_element.options.length;
  for (i = 0; i < numItems; ++i) {
    com_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_$ensureDebugId__Lcom_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_UIObject_element.options[i], baseID, 'item' + i);
  }
}
;
function com_google_gwt_user_client_ui_ListenerWrapper(){
}

_ = com_google_gwt_user_client_ui_ListenerWrapper.prototype = new com_google_gwt_user_client_BaseListenerWrapper;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_ListenerWrapper_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1ListenerWrapper_12_1classLit;
}
;
_.java_lang_Object_castableTypeMap$ = {81:1};
function com_google_gwt_user_client_ui_ListenerWrapper$WrappedPopupListener_ListenerWrapper$WrappedPopupListener__Lcom_google_gwt_user_client_ui_PopupListener_2V(listener){
  this.com_google_gwt_user_client_BaseListenerWrapper_listener = listener;
}

function com_google_gwt_user_client_ui_ListenerWrapper$WrappedPopupListener(){
}

_ = com_google_gwt_user_client_ui_ListenerWrapper$WrappedPopupListener_ListenerWrapper$WrappedPopupListener__Lcom_google_gwt_user_client_ui_PopupListener_2V.prototype = com_google_gwt_user_client_ui_ListenerWrapper$WrappedPopupListener.prototype = new com_google_gwt_user_client_ui_ListenerWrapper;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_ListenerWrapper$WrappedPopupListener_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1ListenerWrapper$WrappedPopupListener_12_1classLit;
}
;
_.onClose__Lcom_google_gwt_event_logical_shared_CloseEvent_2V = function com_google_gwt_user_client_ui_ListenerWrapper$WrappedPopupListener_onClose__Lcom_google_gwt_event_logical_shared_CloseEvent_2V(event){
  com_google_gwt_user_client_ui_MenuBar_$onPopupClosed__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this.com_google_gwt_user_client_BaseListenerWrapper_listener, (com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(event.com_google_web_bindery_event_shared_Event_source, 71) , event.com_google_gwt_event_logical_shared_CloseEvent_autoClosed));
}
;
_.java_lang_Object_castableTypeMap$ = {28:1, 81:1};
function com_google_gwt_user_client_ui_MenuBar_$addItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuItem_2(this$static, item){
  return com_google_gwt_user_client_ui_MenuBar_$insertItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ILcom_google_gwt_user_client_ui_MenuItem_2(this$static, item, this$static.com_google_gwt_user_client_ui_MenuBar_allItems.java_util_ArrayList_size);
}

function com_google_gwt_user_client_ui_MenuBar_$addItemElement__Lcom_google_gwt_user_client_ui_MenuBar_2ILcom_google_gwt_user_client_Element_2V(this$static, beforeIndex, tdElem){
  var tr;
  if (this$static.com_google_gwt_user_client_ui_MenuBar_vertical) {
    tr = $doc.createElement($intern_194);
    com_google_gwt_user_client_impl_DOMImplStandard_$insertChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_Element_2IV(this$static.com_google_gwt_user_client_ui_MenuBar_body, tr, beforeIndex);
    tr.appendChild(tdElem);
  }
   else {
    tr = com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2ILcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_MenuBar_body, 0);
    com_google_gwt_user_client_impl_DOMImplStandard_$insertChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_Element_2IV(tr, tdElem, beforeIndex);
  }
}

function com_google_gwt_user_client_ui_MenuBar_$addSeparator__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItemSeparator_2Lcom_google_gwt_user_client_ui_MenuItemSeparator_2(this$static, separator){
  return com_google_gwt_user_client_ui_MenuBar_$insertSeparator__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItemSeparator_2ILcom_google_gwt_user_client_ui_MenuItemSeparator_2(this$static, separator, this$static.com_google_gwt_user_client_ui_MenuBar_allItems.java_util_ArrayList_size);
}

function com_google_gwt_user_client_ui_MenuBar_$close__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static, focus){
  if (this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu) {
    com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu.com_google_gwt_user_client_ui_MenuBar_popup, !focus);
    focus && (this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu.com_google_gwt_user_client_ui_UIObject_element.focus() , undefined);
  }
}

function com_google_gwt_user_client_ui_MenuBar_$doItemAction__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZZV(this$static, item, fireCommand){
  var cmd;
  com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, item);
  if (item) {
    if (fireCommand && !!item.com_google_gwt_user_client_ui_MenuItem_command) {
      this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu?com_google_gwt_user_client_ui_MenuBar_$close__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static, false):com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, null);
      cmd = item.com_google_gwt_user_client_ui_MenuItem_command;
      com_google_gwt_core_client_impl_SchedulerImpl_$scheduleFinally__Lcom_google_gwt_core_client_impl_SchedulerImpl_2Lcom_google_gwt_core_client_Scheduler$ScheduledCommand_2V((com_google_gwt_core_client_impl_SchedulerImpl_$clinit__V() , com_google_gwt_core_client_impl_SchedulerImpl_INSTANCE), new com_google_gwt_user_client_ui_MenuBar$1_MenuBar$1__Lcom_google_gwt_user_client_ui_MenuBar_2V(cmd));
      if (this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu) {
        com_google_gwt_user_client_ui_MenuBar_$onHide__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu, true);
        com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_popup, false);
        this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu = null;
        com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, null);
      }
    }
     else if (item.com_google_gwt_user_client_ui_MenuItem_subMenu) {
      if (!this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu) {
        com_google_gwt_user_client_ui_MenuBar_$openPopup__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, item);
      }
       else if (item.com_google_gwt_user_client_ui_MenuItem_subMenu != this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu) {
        com_google_gwt_user_client_ui_MenuBar_$onHide__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu, true);
        com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_popup, false);
        com_google_gwt_user_client_ui_MenuBar_$openPopup__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, item);
      }
       else if (fireCommand && !this$static.com_google_gwt_user_client_ui_MenuBar_autoOpen) {
        com_google_gwt_user_client_ui_MenuBar_$onHide__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu, true);
        com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_popup, false);
        this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu = null;
        com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, item);
      }
    }
     else if (this$static.com_google_gwt_user_client_ui_MenuBar_autoOpen && !!this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu) {
      com_google_gwt_user_client_ui_MenuBar_$onHide__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu, true);
      com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_popup, false);
      this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu = null;
    }
  }
}

function com_google_gwt_user_client_ui_MenuBar_$findItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_ui_MenuItem_2(this$static, hItem){
  var item, item$iterator;
  for (item$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this$static.com_google_gwt_user_client_ui_MenuBar_items); item$iterator.java_util_AbstractList$IteratorImpl_i < item$iterator.java_util_AbstractList$IteratorImpl_this$0.size__I();) {
    item = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_AbstractList$IteratorImpl_$next__Ljava_util_AbstractList$IteratorImpl_2Ljava_lang_Object_2(item$iterator), 72);
    if (com_google_gwt_user_client_DOM_isOrHasChild__Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_Element_2Z(item.com_google_gwt_user_client_ui_UIObject_element, hItem)) {
      return item;
    }
  }
  return null;
}

function com_google_gwt_user_client_ui_MenuBar_$init__Lcom_google_gwt_user_client_ui_MenuBar_2ZLcom_google_gwt_user_client_ui_AbstractImagePrototype_2V(this$static, vertical, subMenuIcon){
  var outer, table, tr;
  this$static.com_google_gwt_user_client_ui_MenuBar_subMenuIcon = subMenuIcon;
  table = $doc.createElement($intern_192);
  this$static.com_google_gwt_user_client_ui_MenuBar_body = $doc.createElement($intern_193);
  table.appendChild(this$static.com_google_gwt_user_client_ui_MenuBar_body);
  if (!vertical) {
    tr = $doc.createElement($intern_194);
    this$static.com_google_gwt_user_client_ui_MenuBar_body.appendChild(tr);
  }
  this$static.com_google_gwt_user_client_ui_MenuBar_vertical = vertical;
  outer = com_google_gwt_user_client_ui_impl_FocusImplStandard_createFocusable0__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_user_client_Element_2(com_google_gwt_user_client_ui_impl_FocusImplStandard_focusHandler?com_google_gwt_user_client_ui_impl_FocusImplStandard_focusHandler:(com_google_gwt_user_client_ui_impl_FocusImplStandard_focusHandler = com_google_gwt_user_client_ui_impl_FocusImplStandard_$createFocusHandler__Lcom_google_gwt_user_client_ui_impl_FocusImplStandard_2Lcom_google_gwt_core_client_JavaScriptObject_2()));
  outer.appendChild(table);
  this$static.com_google_gwt_user_client_ui_UIObject_element = outer;
  this$static.com_google_gwt_user_client_ui_UIObject_element.setAttribute($intern_196, 'menubar');
  this$static.com_google_gwt_user_client_ui_Widget_eventsToSink == -1?com_google_gwt_user_client_impl_DOMImplMozilla_$sinkEvents__Lcom_google_gwt_user_client_impl_DOMImplMozilla_2Lcom_google_gwt_user_client_Element_2IV(this$static.com_google_gwt_user_client_ui_UIObject_element, 2225 | (this$static.com_google_gwt_user_client_ui_UIObject_element.__eventBits || 0)):(this$static.com_google_gwt_user_client_ui_Widget_eventsToSink |= 2225);
  this$static.com_google_gwt_user_client_ui_UIObject_element[$intern_21] = $intern_197;
  vertical?com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_UIObject_element) + '-vertical', true):com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_UIObject_element) + '-horizontal', true);
  this$static.com_google_gwt_user_client_ui_UIObject_element.style['outline'] = $intern_71;
  this$static.com_google_gwt_user_client_ui_UIObject_element.setAttribute('hideFocus', $intern_87);
  com_google_gwt_user_client_ui_Widget_$addDomHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_dom_client_DomEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static, new com_google_gwt_user_client_ui_MenuBar$2_MenuBar$2__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static), (com_google_gwt_event_dom_client_BlurEvent_$clinit__V() , com_google_gwt_event_dom_client_BlurEvent_$clinit__V() , com_google_gwt_event_dom_client_BlurEvent_TYPE));
}

function com_google_gwt_user_client_ui_MenuBar_$insertItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ILcom_google_gwt_user_client_ui_MenuItem_2(this$static, item, beforeIndex){
  var i, itemsIndex;
  if (beforeIndex < 0 || beforeIndex > this$static.com_google_gwt_user_client_ui_MenuBar_allItems.java_util_ArrayList_size) {
    throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__V;
  }
  java_util_ArrayList_$add__Ljava_util_ArrayList_2ILjava_lang_Object_2V(this$static.com_google_gwt_user_client_ui_MenuBar_allItems, beforeIndex, item);
  itemsIndex = 0;
  for (i = 0; i < beforeIndex; ++i) {
    com_google_gwt_lang_Cast_instanceOf__Ljava_lang_Object_2IZ(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_google_gwt_user_client_ui_MenuBar_allItems, i), 72) && ++itemsIndex;
  }
  java_util_ArrayList_$add__Ljava_util_ArrayList_2ILjava_lang_Object_2V(this$static.com_google_gwt_user_client_ui_MenuBar_items, itemsIndex, item);
  com_google_gwt_user_client_ui_MenuBar_$addItemElement__Lcom_google_gwt_user_client_ui_MenuBar_2ILcom_google_gwt_user_client_Element_2V(this$static, beforeIndex, item.com_google_gwt_user_client_ui_UIObject_element);
  item.com_google_gwt_user_client_ui_MenuItem_parentMenu = this$static;
  com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(item, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(item.com_google_gwt_user_client_ui_UIObject_element) + $intern_198, false);
  com_google_gwt_user_client_ui_MenuBar_$updateSubmenuIcon__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, item);
  return item;
}

function com_google_gwt_user_client_ui_MenuBar_$insertSeparator__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItemSeparator_2ILcom_google_gwt_user_client_ui_MenuItemSeparator_2(this$static, separator, beforeIndex){
  if (beforeIndex < 0 || beforeIndex > this$static.com_google_gwt_user_client_ui_MenuBar_allItems.java_util_ArrayList_size) {
    throw new java_lang_IndexOutOfBoundsException_IndexOutOfBoundsException__V;
  }
  this$static.com_google_gwt_user_client_ui_MenuBar_vertical && (separator.com_google_gwt_user_client_ui_UIObject_element[$intern_199] = 2 , undefined);
  com_google_gwt_user_client_ui_MenuBar_$addItemElement__Lcom_google_gwt_user_client_ui_MenuBar_2ILcom_google_gwt_user_client_Element_2V(this$static, beforeIndex, separator.com_google_gwt_user_client_ui_UIObject_element);
  java_util_ArrayList_$add__Ljava_util_ArrayList_2ILjava_lang_Object_2V(this$static.com_google_gwt_user_client_ui_MenuBar_allItems, beforeIndex, separator);
  return separator;
}

function com_google_gwt_user_client_ui_MenuBar_$itemOver__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZV(this$static, item){
  if (!item) {
    if (!!this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem && this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu == this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem.com_google_gwt_user_client_ui_MenuItem_subMenu) {
      return;
    }
  }
  com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, item);
  this$static.com_google_gwt_user_client_ui_UIObject_element.focus();
  !!item && (!!this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu || !!this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu || this$static.com_google_gwt_user_client_ui_MenuBar_autoOpen) && com_google_gwt_user_client_ui_MenuBar_$doItemAction__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZZV(this$static, item, false);
}

function com_google_gwt_user_client_ui_MenuBar_$moveSelectionDown__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static){
  if (com_google_gwt_user_client_ui_MenuBar_$selectFirstItemIfNoneSelected__Lcom_google_gwt_user_client_ui_MenuBar_2Z(this$static)) {
    return;
  }
  if (this$static.com_google_gwt_user_client_ui_MenuBar_vertical) {
    com_google_gwt_user_client_ui_MenuBar_$selectNextItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static);
  }
   else {
    if (!!this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem.com_google_gwt_user_client_ui_MenuItem_subMenu && this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem.com_google_gwt_user_client_ui_MenuItem_subMenu.com_google_gwt_user_client_ui_MenuBar_items.java_util_ArrayList_size != 0 && (!this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu || !this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu.com_google_gwt_user_client_ui_MenuBar_selectedItem)) {
      !this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu && com_google_gwt_user_client_ui_MenuBar_$doItemAction__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZZV(this$static, this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem, false);
      this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem.com_google_gwt_user_client_ui_MenuItem_subMenu.com_google_gwt_user_client_ui_UIObject_element.focus();
    }
     else 
      !!this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu && (this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu.com_google_gwt_user_client_ui_MenuBar_vertical?com_google_gwt_user_client_ui_MenuBar_$selectNextItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu):com_google_gwt_user_client_ui_MenuBar_$moveSelectionDown__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu));
  }
}

function com_google_gwt_user_client_ui_MenuBar_$moveSelectionUp__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static){
  if (com_google_gwt_user_client_ui_MenuBar_$selectFirstItemIfNoneSelected__Lcom_google_gwt_user_client_ui_MenuBar_2Z(this$static)) {
    return;
  }
  !this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu && this$static.com_google_gwt_user_client_ui_MenuBar_vertical?com_google_gwt_user_client_ui_MenuBar_$selectPrevItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static):!!this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu && this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu.com_google_gwt_user_client_ui_MenuBar_vertical?com_google_gwt_user_client_ui_MenuBar_$selectPrevItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu):com_google_gwt_user_client_ui_MenuBar_$close__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static, true);
}

function com_google_gwt_user_client_ui_MenuBar_$moveToNextItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static){
  if (com_google_gwt_user_client_ui_MenuBar_$selectFirstItemIfNoneSelected__Lcom_google_gwt_user_client_ui_MenuBar_2Z(this$static)) {
    return;
  }
  if (this$static.com_google_gwt_user_client_ui_MenuBar_vertical) {
    if (!!this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem.com_google_gwt_user_client_ui_MenuItem_subMenu && this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem.com_google_gwt_user_client_ui_MenuItem_subMenu.com_google_gwt_user_client_ui_MenuBar_items.java_util_ArrayList_size != 0 && (!this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu || !this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu.com_google_gwt_user_client_ui_MenuBar_selectedItem)) {
      !this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu && com_google_gwt_user_client_ui_MenuBar_$doItemAction__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZZV(this$static, this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem, false);
      this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem.com_google_gwt_user_client_ui_MenuItem_subMenu.com_google_gwt_user_client_ui_UIObject_element.focus();
    }
     else 
      !!this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu && (this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu.com_google_gwt_user_client_ui_MenuBar_vertical?com_google_gwt_user_client_ui_MenuBar_$moveToNextItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu):com_google_gwt_user_client_ui_MenuBar_$selectNextItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu));
  }
   else {
    com_google_gwt_user_client_ui_MenuBar_$selectNextItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static);
  }
}

function com_google_gwt_user_client_ui_MenuBar_$moveToPrevItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static){
  if (com_google_gwt_user_client_ui_MenuBar_$selectFirstItemIfNoneSelected__Lcom_google_gwt_user_client_ui_MenuBar_2Z(this$static)) {
    return;
  }
  this$static.com_google_gwt_user_client_ui_MenuBar_vertical?!!this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu && !this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu.com_google_gwt_user_client_ui_MenuBar_vertical?com_google_gwt_user_client_ui_MenuBar_$selectPrevItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu):com_google_gwt_user_client_ui_MenuBar_$close__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static, true):com_google_gwt_user_client_ui_MenuBar_$selectPrevItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static);
}

function com_google_gwt_user_client_ui_MenuBar_$onHide__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static, focus){
  if (this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu) {
    com_google_gwt_user_client_ui_MenuBar_$onHide__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu, focus);
    com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_popup, false);
    focus && (this$static.com_google_gwt_user_client_ui_UIObject_element.focus() , undefined);
  }
}

function com_google_gwt_user_client_ui_MenuBar_$onPopupClosed__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this$static, autoClosed){
  autoClosed && (this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu?com_google_gwt_user_client_ui_MenuBar_$close__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static, false):com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, null));
  com_google_gwt_user_client_ui_MenuBar_$onHide__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this$static, !autoClosed);
  com_google_gwt_event_logical_shared_CloseEvent_fire__Lcom_google_gwt_event_logical_shared_HasCloseHandlers_2Ljava_lang_Object_2ZV(this$static, false);
  this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu = null;
  this$static.com_google_gwt_user_client_ui_MenuBar_popup = null;
  !!this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu && !!this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu.com_google_gwt_user_client_ui_MenuBar_popup && (this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu.com_google_gwt_user_client_ui_MenuBar_popup.com_google_gwt_user_client_ui_PopupPanel_previewAllNativeEvents = true , undefined);
}

function com_google_gwt_user_client_ui_MenuBar_$openPopup__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, item){
  var primaryStyleName;
  !!this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu && !!this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu.com_google_gwt_user_client_ui_MenuBar_popup && (this$static.com_google_gwt_user_client_ui_MenuBar_parentMenu.com_google_gwt_user_client_ui_MenuBar_popup.com_google_gwt_user_client_ui_PopupPanel_previewAllNativeEvents = false , undefined);
  this$static.com_google_gwt_user_client_ui_MenuBar_popup = new com_google_gwt_user_client_ui_MenuBar$3_MenuBar$3__Lcom_google_gwt_user_client_ui_MenuBar_2ZZLjava_lang_String_2V(this$static, item);
  this$static.com_google_gwt_user_client_ui_MenuBar_popup.com_google_gwt_user_client_ui_PopupPanel_animType = 1;
  this$static.com_google_gwt_user_client_ui_MenuBar_popup.com_google_gwt_user_client_ui_PopupPanel_isAnimationEnabled = this$static.com_google_gwt_user_client_ui_MenuBar_isAnimationEnabled;
  this$static.com_google_gwt_user_client_ui_MenuBar_popup.getStyleElement__Lcom_google_gwt_user_client_Element_2()[$intern_21] = 'gwt-MenuBarPopup';
  primaryStyleName = com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_UIObject_element);
  java_lang_String_$equals__Ljava_lang_String_2Ljava_lang_Object_2Z($intern_197, primaryStyleName) || com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_popup, primaryStyleName + 'Popup', true);
  com_google_gwt_user_client_ui_Widget_$addHandler__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_event_shared_EventHandler_2Lcom_google_gwt_event_shared_GwtEvent$Type_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static.com_google_gwt_user_client_ui_MenuBar_popup, new com_google_gwt_user_client_ui_ListenerWrapper$WrappedPopupListener_ListenerWrapper$WrappedPopupListener__Lcom_google_gwt_user_client_ui_PopupListener_2V(this$static), com_google_gwt_event_logical_shared_CloseEvent_TYPE?com_google_gwt_event_logical_shared_CloseEvent_TYPE:(com_google_gwt_event_logical_shared_CloseEvent_TYPE = new com_google_gwt_event_shared_GwtEvent$Type_GwtEvent$Type__V));
  this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu = item.com_google_gwt_user_client_ui_MenuItem_subMenu;
  item.com_google_gwt_user_client_ui_MenuItem_subMenu.com_google_gwt_user_client_ui_MenuBar_parentMenu = this$static;
  com_google_gwt_user_client_ui_PopupPanel_$setPopupPositionAndShow__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_ui_PopupPanel$PositionCallback_2V(this$static.com_google_gwt_user_client_ui_MenuBar_popup, new com_google_gwt_user_client_ui_MenuBar$4_MenuBar$4__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static, item));
}

function com_google_gwt_user_client_ui_MenuBar_$selectFirstItemIfNoneSelected__Lcom_google_gwt_user_client_ui_MenuBar_2Z(this$static){
  var nextItem, nextItem$iterator;
  if (!this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem) {
    for (nextItem$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this$static.com_google_gwt_user_client_ui_MenuBar_items); nextItem$iterator.java_util_AbstractList$IteratorImpl_i < nextItem$iterator.java_util_AbstractList$IteratorImpl_this$0.size__I();) {
      nextItem = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_AbstractList$IteratorImpl_$next__Ljava_util_AbstractList$IteratorImpl_2Ljava_lang_Object_2(nextItem$iterator), 72);
      com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, nextItem);
      break;
    }
    return true;
  }
  return false;
}

function com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, item){
  var td, tr, com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_0, com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_1;
  if (item == this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem) {
    return;
  }
  if (this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem) {
    com_google_gwt_user_client_ui_MenuItem_$setSelectionStyle__Lcom_google_gwt_user_client_ui_MenuItem_2ZV(this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem);
    if (this$static.com_google_gwt_user_client_ui_MenuBar_vertical) {
      tr = (com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_0 = this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem.com_google_gwt_user_client_ui_UIObject_element.parentNode , (!com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_0 || com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_0.nodeType != 1) && (com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_0 = null) , com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_0);
      if (com_google_gwt_user_client_impl_DOMImplStandard_$getChildCount__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2I(tr) == 2) {
        td = com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2ILcom_google_gwt_user_client_Element_2(tr, 1);
        com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(td, $intern_200, false);
      }
    }
  }
  if (item) {
    com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(item, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(item.com_google_gwt_user_client_ui_UIObject_element) + $intern_198, true);
    if (this$static.com_google_gwt_user_client_ui_MenuBar_vertical) {
      tr = (com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_1 = item.com_google_gwt_user_client_ui_UIObject_element.parentNode , (!com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_1 || com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_1.nodeType != 1) && (com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_1 = null) , com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2_parent_1);
      if (com_google_gwt_user_client_impl_DOMImplStandard_$getChildCount__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2I(tr) == 2) {
        td = com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2ILcom_google_gwt_user_client_Element_2(tr, 1);
        com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(td, $intern_200, true);
      }
    }
    this$static.com_google_gwt_user_client_ui_UIObject_element.setAttribute('aria-activedescendant', item.com_google_gwt_user_client_ui_UIObject_element.getAttribute($intern_7) || $intern_3);
  }
  this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem = item;
}

function com_google_gwt_user_client_ui_MenuBar_$selectNextItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static){
  var firstIndex, index, itemToBeSelected;
  if (!this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem) {
    return;
  }
  index = java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static.com_google_gwt_user_client_ui_MenuBar_items, this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem, 0);
  firstIndex = index;
  while (true) {
    index = index + 1;
    index == this$static.com_google_gwt_user_client_ui_MenuBar_items.java_util_ArrayList_size && (index = 0);
    if (index == firstIndex) {
      itemToBeSelected = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_google_gwt_user_client_ui_MenuBar_items, firstIndex), 72);
      break;
    }
     else {
      itemToBeSelected = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_google_gwt_user_client_ui_MenuBar_items, index), 72);
      break;
    }
  }
  com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, itemToBeSelected);
  !!this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu && com_google_gwt_user_client_ui_MenuBar_$doItemAction__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZZV(this$static, itemToBeSelected, false);
}

function com_google_gwt_user_client_ui_MenuBar_$selectPrevItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static){
  var firstIndex, index, itemToBeSelected;
  if (!this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem) {
    return;
  }
  index = java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static.com_google_gwt_user_client_ui_MenuBar_items, this$static.com_google_gwt_user_client_ui_MenuBar_selectedItem, 0);
  firstIndex = index;
  while (true) {
    index = index - 1;
    index < 0 && (index = this$static.com_google_gwt_user_client_ui_MenuBar_items.java_util_ArrayList_size - 1);
    if (index == firstIndex) {
      itemToBeSelected = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_google_gwt_user_client_ui_MenuBar_items, firstIndex), 72);
      break;
    }
     else {
      itemToBeSelected = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_ArrayList_$get__Ljava_util_ArrayList_2ILjava_lang_Object_2(this$static.com_google_gwt_user_client_ui_MenuBar_items, index), 72);
      break;
    }
  }
  com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, itemToBeSelected);
  !!this$static.com_google_gwt_user_client_ui_MenuBar_shownChildMenu && com_google_gwt_user_client_ui_MenuBar_$doItemAction__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZZV(this$static, itemToBeSelected, false);
}

function com_google_gwt_user_client_ui_MenuBar_$setMenuItemDebugIds__Lcom_google_gwt_user_client_ui_MenuBar_2Ljava_lang_String_2V(this$static, baseID){
  var item, item$iterator, itemCount;
  itemCount = 0;
  for (item$iterator = new java_util_AbstractList$IteratorImpl_AbstractList$IteratorImpl__Ljava_util_AbstractList_2V(this$static.com_google_gwt_user_client_ui_MenuBar_items); item$iterator.java_util_AbstractList$IteratorImpl_i < item$iterator.java_util_AbstractList$IteratorImpl_this$0.size__I();) {
    item = com_google_gwt_lang_Cast_dynamicCast__Ljava_lang_Object_2ILjava_lang_Object_2(java_util_AbstractList$IteratorImpl_$next__Ljava_util_AbstractList$IteratorImpl_2Ljava_lang_Object_2(item$iterator), 72);
    item.onEnsureDebugId__Ljava_lang_String_2V(baseID + '-item' + itemCount);
    ++itemCount;
  }
}

function com_google_gwt_user_client_ui_MenuBar_$updateSubmenuIcon__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static, item){
  var container, idx, submenu, td, tdCount, tr;
  if (!this$static.com_google_gwt_user_client_ui_MenuBar_vertical) {
    return;
  }
  idx = java_util_ArrayList_$indexOf__Ljava_util_ArrayList_2Ljava_lang_Object_2II(this$static.com_google_gwt_user_client_ui_MenuBar_allItems, item, 0);
  if (idx == -1) {
    return;
  }
  container = this$static.com_google_gwt_user_client_ui_MenuBar_vertical?this$static.com_google_gwt_user_client_ui_MenuBar_body:com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2ILcom_google_gwt_user_client_Element_2(this$static.com_google_gwt_user_client_ui_MenuBar_body, 0);
  tr = com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2ILcom_google_gwt_user_client_Element_2(container, idx);
  tdCount = com_google_gwt_user_client_impl_DOMImplStandard_$getChildCount__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2I(tr);
  submenu = item.com_google_gwt_user_client_ui_MenuItem_subMenu;
  if (!submenu) {
    tdCount == 2 && tr.removeChild(com_google_gwt_user_client_impl_DOMImplStandard_$getChild__Lcom_google_gwt_user_client_impl_DOMImplStandard_2Lcom_google_gwt_user_client_Element_2ILcom_google_gwt_user_client_Element_2(tr, 1));
    item.com_google_gwt_user_client_ui_UIObject_element[$intern_199] = 2;
  }
   else if (tdCount == 1) {
    item.com_google_gwt_user_client_ui_UIObject_element[$intern_199] = 1;
    td = $doc.createElement($intern_195);
    td['vAlign'] = 'middle';
    td.innerHTML = com_google_gwt_user_client_ui_impl_ClippedImagePrototype_$getHTML__Lcom_google_gwt_user_client_ui_impl_ClippedImagePrototype_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_MenuBar_subMenuIcon) || $intern_3;
    td[$intern_21] = 'subMenuIcon';
    tr.appendChild(td);
  }
}

function com_google_gwt_user_client_ui_MenuBar_MenuBar__V(){
  this.com_google_gwt_user_client_ui_MenuBar_allItems = new java_util_ArrayList_ArrayList__V;
  this.com_google_gwt_user_client_ui_MenuBar_items = new java_util_ArrayList_ArrayList__V;
  com_google_gwt_user_client_ui_MenuBar_$init__Lcom_google_gwt_user_client_ui_MenuBar_2ZLcom_google_gwt_user_client_ui_AbstractImagePrototype_2V(this, false, com_google_gwt_user_client_ui_AbstractImagePrototype_create__Lcom_google_gwt_resources_client_ImageResource_2Lcom_google_gwt_user_client_ui_AbstractImagePrototype_2((com_google_gwt_user_client_ui_MenuBar_1Resources_1zh_1InlineClientBundleGenerator$menuBarSubMenuIconInitializer_$clinit__V() , com_google_gwt_user_client_ui_MenuBar_1Resources_1zh_1InlineClientBundleGenerator_menuBarSubMenuIcon)));
}

function com_google_gwt_user_client_ui_MenuBar_MenuBar__ZV(vertical){
  this.com_google_gwt_user_client_ui_MenuBar_allItems = new java_util_ArrayList_ArrayList__V;
  this.com_google_gwt_user_client_ui_MenuBar_items = new java_util_ArrayList_ArrayList__V;
  com_google_gwt_user_client_ui_MenuBar_$init__Lcom_google_gwt_user_client_ui_MenuBar_2ZLcom_google_gwt_user_client_ui_AbstractImagePrototype_2V(this, vertical, com_google_gwt_user_client_ui_AbstractImagePrototype_create__Lcom_google_gwt_resources_client_ImageResource_2Lcom_google_gwt_user_client_ui_AbstractImagePrototype_2((com_google_gwt_user_client_ui_MenuBar_1Resources_1zh_1InlineClientBundleGenerator$menuBarSubMenuIconInitializer_$clinit__V() , com_google_gwt_user_client_ui_MenuBar_1Resources_1zh_1InlineClientBundleGenerator_menuBarSubMenuIcon)));
}

function com_google_gwt_user_client_ui_MenuBar(){
}

_ = com_google_gwt_user_client_ui_MenuBar_MenuBar__ZV.prototype = com_google_gwt_user_client_ui_MenuBar_MenuBar__V.prototype = com_google_gwt_user_client_ui_MenuBar.prototype = new com_google_gwt_user_client_ui_Widget;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_MenuBar_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuBar_12_1classLit;
}
;
_.onBrowserEvent__Lcom_google_gwt_user_client_Event_2V = function com_google_gwt_user_client_ui_MenuBar_onBrowserEvent__Lcom_google_gwt_user_client_Event_2V(event){
  var item, keyCode;
  item = com_google_gwt_user_client_ui_MenuBar_$findItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_Element_2Lcom_google_gwt_user_client_ui_MenuItem_2(this, event.target);
  switch (com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(event.type)) {
    case 1:
      {
        this.com_google_gwt_user_client_ui_UIObject_element.focus();
        !!item && com_google_gwt_user_client_ui_MenuBar_$doItemAction__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZZV(this, item, true);
        break;
      }

    case 16:
      {
        !!item && com_google_gwt_user_client_ui_MenuBar_$itemOver__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZV(this, item);
        break;
      }

    case 32:
      {
        !!item && com_google_gwt_user_client_ui_MenuBar_$itemOver__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZV(this, null);
        break;
      }

    case 2048:
      {
        com_google_gwt_user_client_ui_MenuBar_$selectFirstItemIfNoneSelected__Lcom_google_gwt_user_client_ui_MenuBar_2Z(this);
        break;
      }

    case 128:
      {
        keyCode = event.keyCode || 0;
        switch (keyCode) {
          case 37:
            com_google_gwt_i18n_client_LocaleInfo_$clinit__V();
            com_google_gwt_user_client_ui_MenuBar_$moveToPrevItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this);
            event.cancelBubble = true;
            event.preventDefault();
            break;
          case 39:
            com_google_gwt_i18n_client_LocaleInfo_$clinit__V();
            com_google_gwt_user_client_ui_MenuBar_$moveToNextItem__Lcom_google_gwt_user_client_ui_MenuBar_2V(this);
            event.cancelBubble = true;
            event.preventDefault();
            break;
          case 38:
            com_google_gwt_user_client_ui_MenuBar_$moveSelectionUp__Lcom_google_gwt_user_client_ui_MenuBar_2V(this);
            event.cancelBubble = true;
            event.preventDefault();
            break;
          case 40:
            com_google_gwt_user_client_ui_MenuBar_$moveSelectionDown__Lcom_google_gwt_user_client_ui_MenuBar_2V(this);
            event.cancelBubble = true;
            event.preventDefault();
            break;
          case 27:
            this.com_google_gwt_user_client_ui_MenuBar_parentMenu?com_google_gwt_user_client_ui_MenuBar_$close__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this, false):com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this, null);
            !this.com_google_gwt_user_client_ui_MenuBar_parentMenu && !!this.com_google_gwt_user_client_ui_MenuBar_popup && com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this.com_google_gwt_user_client_ui_MenuBar_popup, false);
            event.cancelBubble = true;
            event.preventDefault();
            break;
          case 9:
            this.com_google_gwt_user_client_ui_MenuBar_parentMenu?com_google_gwt_user_client_ui_MenuBar_$close__Lcom_google_gwt_user_client_ui_MenuBar_2ZV(this, false):com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this, null);
            !this.com_google_gwt_user_client_ui_MenuBar_parentMenu && !!this.com_google_gwt_user_client_ui_MenuBar_popup && com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this.com_google_gwt_user_client_ui_MenuBar_popup, false);
            break;
          case 13:
            if (!com_google_gwt_user_client_ui_MenuBar_$selectFirstItemIfNoneSelected__Lcom_google_gwt_user_client_ui_MenuBar_2Z(this)) {
              com_google_gwt_user_client_ui_MenuBar_$doItemAction__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2ZZV(this, this.com_google_gwt_user_client_ui_MenuBar_selectedItem, true);
              event.cancelBubble = true;
              event.preventDefault();
            }

        }
        break;
      }

  }
  com_google_gwt_user_client_ui_Widget_$onBrowserEvent__Lcom_google_gwt_user_client_ui_Widget_2Lcom_google_gwt_user_client_Event_2V(this, event);
}
;
_.onDetach__V = function com_google_gwt_user_client_ui_MenuBar_onDetach__V(){
  !!this.com_google_gwt_user_client_ui_MenuBar_popup && com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this.com_google_gwt_user_client_ui_MenuBar_popup, false);
  com_google_gwt_user_client_ui_Widget_$onDetach__Lcom_google_gwt_user_client_ui_Widget_2V(this);
}
;
_.onEnsureDebugId__Ljava_lang_String_2V = function com_google_gwt_user_client_ui_MenuBar_onEnsureDebugId__Ljava_lang_String_2V(baseID){
  com_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_$ensureDebugId__Lcom_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_UIObject_element, $intern_3, baseID);
  com_google_gwt_user_client_ui_MenuBar_$setMenuItemDebugIds__Lcom_google_gwt_user_client_ui_MenuBar_2Ljava_lang_String_2V(this, baseID);
}
;
_.java_lang_Object_castableTypeMap$ = {8:1, 9:1, 10:1, 11:1, 53:1, 54:1};
_.com_google_gwt_user_client_ui_MenuBar_autoOpen = false;
_.com_google_gwt_user_client_ui_MenuBar_body = null;
_.com_google_gwt_user_client_ui_MenuBar_isAnimationEnabled = false;
_.com_google_gwt_user_client_ui_MenuBar_parentMenu = null;
_.com_google_gwt_user_client_ui_MenuBar_popup = null;
_.com_google_gwt_user_client_ui_MenuBar_selectedItem = null;
_.com_google_gwt_user_client_ui_MenuBar_shownChildMenu = null;
_.com_google_gwt_user_client_ui_MenuBar_subMenuIcon = null;
_.com_google_gwt_user_client_ui_MenuBar_vertical = false;
function com_google_gwt_user_client_ui_MenuBar$1_MenuBar$1__Lcom_google_gwt_user_client_ui_MenuBar_2V(val$cmd){
  this.com_google_gwt_user_client_ui_MenuBar$1_val$cmd = val$cmd;
}

function com_google_gwt_user_client_ui_MenuBar$1(){
}

_ = com_google_gwt_user_client_ui_MenuBar$1_MenuBar$1__Lcom_google_gwt_user_client_ui_MenuBar_2V.prototype = com_google_gwt_user_client_ui_MenuBar$1.prototype = new java_lang_Object;
_.execute__V = function com_google_gwt_user_client_ui_MenuBar$1_execute__V(){
  com_fzy_client_menu_CwMenuBar$1_$execute__Lcom_fzy_client_menu_CwMenuBar$1_2V(this.com_google_gwt_user_client_ui_MenuBar$1_val$cmd);
}
;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_MenuBar$1_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuBar$1_12_1classLit;
}
;
_.java_lang_Object_castableTypeMap$ = {};
_.com_google_gwt_user_client_ui_MenuBar$1_val$cmd = null;
function com_google_gwt_user_client_ui_MenuBar$2_MenuBar$2__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$0){
  this.com_google_gwt_user_client_ui_MenuBar$2_this$0 = this$0;
}

function com_google_gwt_user_client_ui_MenuBar$2(){
}

_ = com_google_gwt_user_client_ui_MenuBar$2_MenuBar$2__Lcom_google_gwt_user_client_ui_MenuBar_2V.prototype = com_google_gwt_user_client_ui_MenuBar$2.prototype = new java_lang_Object;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_MenuBar$2_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuBar$2_12_1classLit;
}
;
_.java_lang_Object_castableTypeMap$ = {18:1, 81:1};
_.com_google_gwt_user_client_ui_MenuBar$2_this$0 = null;
function com_google_gwt_user_client_ui_MenuBar$3_MenuBar$3__Lcom_google_gwt_user_client_ui_MenuBar_2ZZLjava_lang_String_2V(this$0, val$item){
  var com_google_gwt_user_client_ui_DecoratedPopupPanel_DecoratedPopupPanel__ZZLjava_lang_String_2V_rowStyles_0;
  com_google_gwt_user_client_ui_PopupPanel_$clinit__V();
  this.com_google_gwt_user_client_ui_MenuBar$3_this$0 = this$0;
  this.com_google_gwt_user_client_ui_MenuBar$3_val$item = val$item;
  this.com_google_gwt_user_client_ui_UIObject_element = $doc.createElement($intern_2);
  this.com_google_gwt_user_client_ui_PopupPanel_glassResizer = new com_google_gwt_user_client_ui_PopupPanel$1_PopupPanel$1__Lcom_google_gwt_user_client_ui_PopupPanel_2V;
  this.com_google_gwt_user_client_ui_PopupPanel_resizeAnimation = new com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_PopupPanel$ResizeAnimation__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this);
  this.com_google_gwt_user_client_ui_UIObject_element.appendChild(com_google_gwt_user_client_ui_impl_PopupImplMozilla_$createElement__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2());
  com_google_gwt_user_client_ui_PopupPanel_$setPopupPosition__Lcom_google_gwt_user_client_ui_PopupPanel_2IIV(this, 0, 0);
  com_google_gwt_user_client_ui_impl_PopupImplMozilla_$getStyleElement__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(this.com_google_gwt_user_client_ui_UIObject_element))[$intern_21] = 'gwt-PopupPanel';
  com_google_gwt_user_client_ui_impl_PopupImplMozilla_$getContainerElement__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(this.com_google_gwt_user_client_ui_UIObject_element))[$intern_21] = $intern_201;
  this.com_google_gwt_user_client_ui_PopupPanel_autoHide = true;
  this.com_google_gwt_user_client_ui_PopupPanel_autoHideOnHistoryEvents = true;
  this.com_google_gwt_user_client_ui_PopupPanel_modal = false;
  com_google_gwt_user_client_ui_DecoratedPopupPanel_DecoratedPopupPanel__ZZLjava_lang_String_2V_rowStyles_0 = com_google_gwt_lang_Array_initValues__Ljava_lang_Class_2Lcom_google_gwt_core_client_JavaScriptObject_2ILcom_google_gwt_lang_Array_2Lcom_google_gwt_lang_Array_2(com_google_gwt_lang_ClassLiteralHolder__13Ljava_1lang_1String_12_1classLit, {5:1, 12:1}, 1, ['menuPopupTop', 'menuPopupMiddle', 'menuPopupBottom']);
  this.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel = new com_google_gwt_user_client_ui_DecoratorPanel_DecoratorPanel___3Ljava_lang_String_2IV(com_google_gwt_user_client_ui_DecoratedPopupPanel_DecoratedPopupPanel__ZZLjava_lang_String_2V_rowStyles_0);
  this.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel.getStyleElement__Lcom_google_gwt_user_client_Element_2()[$intern_21] = $intern_3;
  com_google_gwt_user_client_ui_UIObject_setStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(com_google_gwt_user_client_ui_impl_PopupImplMozilla_$getStyleElement__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(this.com_google_gwt_user_client_ui_UIObject_element)), 'gwt-DecoratedPopupPanel');
  com_google_gwt_user_client_ui_SimplePanel_$setWidget__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this, this.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel);
  com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this);
  com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(com_google_gwt_user_client_ui_impl_PopupImplMozilla_$getContainerElement__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(this.com_google_gwt_user_client_ui_UIObject_element)), $intern_201, false);
  com_google_gwt_user_client_ui_UIObject_setStyleName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2ZV(this.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel.com_google_gwt_user_client_ui_DecoratorPanel_containerElem, 'menuPopupContent', true);
  com_google_gwt_user_client_ui_SimplePanel_$setWidget__Lcom_google_gwt_user_client_ui_SimplePanel_2Lcom_google_gwt_user_client_ui_Widget_2V(this.com_google_gwt_user_client_ui_DecoratedPopupPanel_decPanel, this.com_google_gwt_user_client_ui_MenuBar$3_val$item.com_google_gwt_user_client_ui_MenuItem_subMenu);
  com_google_gwt_user_client_ui_PopupPanel_$maybeUpdateSize__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this);
  this.com_google_gwt_user_client_ui_PopupPanel_previewAllNativeEvents = true;
  com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this.com_google_gwt_user_client_ui_MenuBar$3_val$item.com_google_gwt_user_client_ui_MenuItem_subMenu, null);
}

function com_google_gwt_user_client_ui_MenuBar$3(){
}

_ = com_google_gwt_user_client_ui_MenuBar$3_MenuBar$3__Lcom_google_gwt_user_client_ui_MenuBar_2ZZLjava_lang_String_2V.prototype = com_google_gwt_user_client_ui_MenuBar$3.prototype = new com_google_gwt_user_client_ui_DecoratedPopupPanel;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_MenuBar$3_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuBar$3_12_1classLit;
}
;
_.onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V = function com_google_gwt_user_client_ui_MenuBar$3_onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(event){
  var parentMenuElement, target;
  if (!event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled) {
    switch (com_google_gwt_user_client_impl_DOMImpl_$eventGetTypeInt__Lcom_google_gwt_user_client_impl_DOMImpl_2Ljava_lang_String_2I(event.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent.type)) {
      case 4:
        target = event.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent.target;
        parentMenuElement = this.com_google_gwt_user_client_ui_MenuBar$3_val$item.com_google_gwt_user_client_ui_MenuItem_parentMenu.com_google_gwt_user_client_ui_UIObject_element;
        if (parentMenuElement === target || !!(parentMenuElement.compareDocumentPosition(target) & 16)) {
          event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true;
          return;
        }

        event.com_google_gwt_user_client_Event$NativePreviewEvent_isFirstHandler && (event.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent , false) && (event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true);
        event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled && com_google_gwt_user_client_ui_MenuBar_$selectItem__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this.com_google_gwt_user_client_ui_MenuBar$3_this$0, null);
        return;
    }
  }
  event.com_google_gwt_user_client_Event$NativePreviewEvent_isFirstHandler && (event.com_google_gwt_user_client_Event$NativePreviewEvent_nativeEvent , false) && (event.com_google_gwt_user_client_Event$NativePreviewEvent_isCanceled = true);
}
;
_.java_lang_Object_castableTypeMap$ = {8:1, 9:1, 10:1, 11:1, 53:1, 54:1, 71:1, 74:1};
_.com_google_gwt_user_client_ui_MenuBar$3_this$0 = null;
_.com_google_gwt_user_client_ui_MenuBar$3_val$item = null;
function com_google_gwt_user_client_ui_MenuBar$4_$setPosition__Lcom_google_gwt_user_client_ui_MenuBar$4_2IIV(this$static){
  com_google_gwt_i18n_client_LocaleInfo_$clinit__V();
  this$static.com_google_gwt_user_client_ui_MenuBar$4_this$0.com_google_gwt_user_client_ui_MenuBar_vertical?com_google_gwt_user_client_ui_PopupPanel_$setPopupPosition__Lcom_google_gwt_user_client_ui_PopupPanel_2IIV(this$static.com_google_gwt_user_client_ui_MenuBar$4_this$0.com_google_gwt_user_client_ui_MenuBar_popup, com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteLeft__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2I(this$static.com_google_gwt_user_client_ui_MenuBar$4_this$0.com_google_gwt_user_client_ui_UIObject_element) + (parseInt(this$static.com_google_gwt_user_client_ui_MenuBar$4_this$0.com_google_gwt_user_client_ui_UIObject_element[$intern_189]) || 0) - 1, com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteTop__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2I(this$static.com_google_gwt_user_client_ui_MenuBar$4_val$item.com_google_gwt_user_client_ui_UIObject_element)):com_google_gwt_user_client_ui_PopupPanel_$setPopupPosition__Lcom_google_gwt_user_client_ui_PopupPanel_2IIV(this$static.com_google_gwt_user_client_ui_MenuBar$4_this$0.com_google_gwt_user_client_ui_MenuBar_popup, com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteLeft__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2I(this$static.com_google_gwt_user_client_ui_MenuBar$4_val$item.com_google_gwt_user_client_ui_UIObject_element), com_google_gwt_dom_client_DOMImplMozilla_$getAbsoluteTop__Lcom_google_gwt_dom_client_DOMImplMozilla_2Lcom_google_gwt_dom_client_Element_2I(this$static.com_google_gwt_user_client_ui_MenuBar$4_this$0.com_google_gwt_user_client_ui_UIObject_element) + (parseInt(this$static.com_google_gwt_user_client_ui_MenuBar$4_this$0.com_google_gwt_user_client_ui_UIObject_element[$intern_190]) || 0) - 1);
}

function com_google_gwt_user_client_ui_MenuBar$4_MenuBar$4__Lcom_google_gwt_user_client_ui_MenuBar_2V(this$0, val$item){
  this.com_google_gwt_user_client_ui_MenuBar$4_this$0 = this$0;
  this.com_google_gwt_user_client_ui_MenuBar$4_val$item = val$item;
}

function com_google_gwt_user_client_ui_MenuBar$4(){
}

_ = com_google_gwt_user_client_ui_MenuBar$4_MenuBar$4__Lcom_google_gwt_user_client_ui_MenuBar_2V.prototype = com_google_gwt_user_client_ui_MenuBar$4.prototype = new java_lang_Object;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_MenuBar$4_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuBar$4_12_1classLit;
}
;
_.java_lang_Object_castableTypeMap$ = {};
_.com_google_gwt_user_client_ui_MenuBar$4_this$0 = null;
_.com_google_gwt_user_client_ui_MenuBar$4_val$item = null;
var com_google_gwt_user_client_ui_MenuBar_1Resources_1zh_1InlineClientBundleGenerator_menuBarSubMenuIcon = null;
function com_google_gwt_user_client_ui_MenuBar_1Resources_1zh_1InlineClientBundleGenerator$menuBarSubMenuIconInitializer_$clinit__V(){
  com_google_gwt_user_client_ui_MenuBar_1Resources_1zh_1InlineClientBundleGenerator$menuBarSubMenuIconInitializer_$clinit__V = nullMethod;
  com_google_gwt_user_client_ui_MenuBar_1Resources_1zh_1InlineClientBundleGenerator_menuBarSubMenuIcon = new com_google_gwt_resources_client_impl_ImageResourcePrototype_ImageResourcePrototype__Ljava_lang_String_2Ljava_lang_String_2IIIIZZV((com_google_gwt_i18n_client_LocaleInfo_$clinit__V() , ''), 5, 9);
}

function com_google_gwt_user_client_ui_MenuItem_$setSelectionStyle__Lcom_google_gwt_user_client_ui_MenuItem_2ZV(this$static){
  com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this$static, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this$static.com_google_gwt_user_client_ui_UIObject_element) + $intern_198, false);
}

function com_google_gwt_user_client_ui_MenuItem_$setSubMenu__Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuBar_2V(this$static, subMenu){
  this$static.com_google_gwt_user_client_ui_MenuItem_subMenu = subMenu;
  !!this$static.com_google_gwt_user_client_ui_MenuItem_parentMenu && com_google_gwt_user_client_ui_MenuBar_$updateSubmenuIcon__Lcom_google_gwt_user_client_ui_MenuBar_2Lcom_google_gwt_user_client_ui_MenuItem_2V(this$static.com_google_gwt_user_client_ui_MenuItem_parentMenu, this$static);
  if (subMenu) {
    subMenu.com_google_gwt_user_client_ui_UIObject_element.tabIndex = -1;
    this$static.com_google_gwt_user_client_ui_UIObject_element.setAttribute($intern_202, $intern_87);
  }
   else {
    this$static.com_google_gwt_user_client_ui_UIObject_element.setAttribute($intern_202, $intern_138);
  }
}

function com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2ZLcom_google_gwt_user_client_ui_MenuBar_2V(subMenu){
  com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2ZV.call(this, 'GWT', true);
  com_google_gwt_user_client_ui_MenuItem_$setSubMenu__Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuBar_2V(this, subMenu);
}

function com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_Command_2V(text, cmd){
  com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2ZV.call(this, text, false);
  this.com_google_gwt_user_client_ui_MenuItem_command = cmd;
}

function com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_MenuBar_2V(text, subMenu){
  com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2ZV.call(this, text, false);
  com_google_gwt_user_client_ui_MenuItem_$setSubMenu__Lcom_google_gwt_user_client_ui_MenuItem_2Lcom_google_gwt_user_client_ui_MenuBar_2V(this, subMenu);
}

function com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2ZV(text, asHTML){
  this.com_google_gwt_user_client_ui_UIObject_element = $doc.createElement($intern_195);
  com_google_gwt_user_client_ui_UIObject_$setStyleName__Lcom_google_gwt_user_client_ui_UIObject_2Ljava_lang_String_2ZV(this, com_google_gwt_user_client_ui_UIObject_getStylePrimaryName__Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2(this.com_google_gwt_user_client_ui_UIObject_element) + $intern_198, false);
  asHTML?(this.com_google_gwt_user_client_ui_UIObject_element.innerHTML = text || $intern_3 , undefined):(this.com_google_gwt_user_client_ui_UIObject_element.textContent = text || $intern_3 , undefined);
  this.com_google_gwt_user_client_ui_UIObject_element[$intern_21] = 'gwt-MenuItem';
  this.com_google_gwt_user_client_ui_UIObject_element.setAttribute($intern_7, com_google_gwt_dom_client_Document_$createUniqueId__Lcom_google_gwt_dom_client_Document_2Ljava_lang_String_2($doc));
  this.com_google_gwt_user_client_ui_UIObject_element.setAttribute($intern_196, 'menuitem');
}

function com_google_gwt_user_client_ui_MenuItem(){
}

_ = com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_MenuBar_2V.prototype = com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2Lcom_google_gwt_user_client_Command_2V.prototype = com_google_gwt_user_client_ui_MenuItem_MenuItem__Ljava_lang_String_2ZLcom_google_gwt_user_client_ui_MenuBar_2V.prototype = com_google_gwt_user_client_ui_MenuItem.prototype = new com_google_gwt_user_client_ui_UIObject;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_MenuItem_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuItem_12_1classLit;
}
;
_.onEnsureDebugId__Ljava_lang_String_2V = function com_google_gwt_user_client_ui_MenuItem_onEnsureDebugId__Ljava_lang_String_2V(baseID){
  com_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_$ensureDebugId__Lcom_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_UIObject_element, $intern_3, baseID);
  !!this.com_google_gwt_user_client_ui_MenuItem_subMenu && com_google_gwt_user_client_ui_MenuBar_$setMenuItemDebugIds__Lcom_google_gwt_user_client_ui_MenuBar_2Ljava_lang_String_2V(this.com_google_gwt_user_client_ui_MenuItem_subMenu, baseID);
}
;
_.java_lang_Object_castableTypeMap$ = {53:1, 72:1};
_.com_google_gwt_user_client_ui_MenuItem_command = null;
_.com_google_gwt_user_client_ui_MenuItem_parentMenu = null;
_.com_google_gwt_user_client_ui_MenuItem_subMenu = null;
function com_google_gwt_user_client_ui_MenuItemSeparator_MenuItemSeparator__V(){
  var div;
  this.com_google_gwt_user_client_ui_UIObject_element = $doc.createElement($intern_195);
  this.com_google_gwt_user_client_ui_UIObject_element[$intern_21] = 'gwt-MenuItemSeparator';
  div = $doc.createElement($intern_2);
  this.com_google_gwt_user_client_ui_UIObject_element.appendChild(div);
  div[$intern_21] = 'menuSeparatorInner';
}

function com_google_gwt_user_client_ui_MenuItemSeparator(){
}

_ = com_google_gwt_user_client_ui_MenuItemSeparator_MenuItemSeparator__V.prototype = com_google_gwt_user_client_ui_MenuItemSeparator.prototype = new com_google_gwt_user_client_ui_UIObject;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_MenuItemSeparator_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuItemSeparator_12_1classLit;
}
;
_.java_lang_Object_castableTypeMap$ = {53:1};
function com_google_gwt_user_client_ui_PopupPanel$1_$onResize__Lcom_google_gwt_user_client_ui_PopupPanel$1_2Lcom_google_gwt_event_logical_shared_ResizeEvent_2V(){
  var style;
  style = null.nullMethod();
  com_google_gwt_dom_client_Document_$getClientWidth__Lcom_google_gwt_dom_client_Document_2I($doc);
  com_google_gwt_dom_client_Document_$getClientHeight__Lcom_google_gwt_dom_client_Document_2I($doc);
  style[$intern_75] = (com_google_gwt_dom_client_Style$Display_$clinit__V() , $intern_16);
  null.nullMethod(com_google_gwt_dom_client_Style$Unit_$clinit__V());
  null.nullMethod(com_google_gwt_dom_client_Style$Unit_$clinit__V());
  com_google_gwt_dom_client_Document_$getScrollWidth__Lcom_google_gwt_dom_client_Document_2I($doc);
  com_google_gwt_dom_client_Document_$getScrollHeight__Lcom_google_gwt_dom_client_Document_2I($doc);
  null.nullMethod(com_google_gwt_dom_client_Style$Unit_$clinit__V());
  null.nullMethod(com_google_gwt_dom_client_Style$Unit_$clinit__V());
  style[$intern_75] = 'block';
}

function com_google_gwt_user_client_ui_PopupPanel$1_PopupPanel$1__Lcom_google_gwt_user_client_ui_PopupPanel_2V(){
}

function com_google_gwt_user_client_ui_PopupPanel$1(){
}

_ = com_google_gwt_user_client_ui_PopupPanel$1_PopupPanel$1__Lcom_google_gwt_user_client_ui_PopupPanel_2V.prototype = com_google_gwt_user_client_ui_PopupPanel$1.prototype = new java_lang_Object;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_PopupPanel$1_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$1_12_1classLit;
}
;
_.onResize__Lcom_google_gwt_event_logical_shared_ResizeEvent_2V = function com_google_gwt_user_client_ui_PopupPanel$1_onResize__Lcom_google_gwt_event_logical_shared_ResizeEvent_2V(event){
  com_google_gwt_user_client_ui_PopupPanel$1_$onResize__Lcom_google_gwt_user_client_ui_PopupPanel$1_2Lcom_google_gwt_event_logical_shared_ResizeEvent_2V();
}
;
_.java_lang_Object_castableTypeMap$ = {30:1, 81:1};
function com_google_gwt_user_client_ui_PopupPanel$3_PopupPanel$3__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$0){
  this.com_google_gwt_user_client_ui_PopupPanel$3_this$0 = this$0;
}

function com_google_gwt_user_client_ui_PopupPanel$3(){
}

_ = com_google_gwt_user_client_ui_PopupPanel$3_PopupPanel$3__Lcom_google_gwt_user_client_ui_PopupPanel_2V.prototype = com_google_gwt_user_client_ui_PopupPanel$3.prototype = new java_lang_Object;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_PopupPanel$3_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$3_12_1classLit;
}
;
_.onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V = function com_google_gwt_user_client_ui_PopupPanel$3_onPreviewNativeEvent__Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(event){
  com_google_gwt_user_client_ui_PopupPanel_$previewNativeEvent__Lcom_google_gwt_user_client_ui_PopupPanel_2Lcom_google_gwt_user_client_Event$NativePreviewEvent_2V(this.com_google_gwt_user_client_ui_PopupPanel$3_this$0, event);
}
;
_.java_lang_Object_castableTypeMap$ = {65:1, 81:1};
_.com_google_gwt_user_client_ui_PopupPanel$3_this$0 = null;
function com_google_gwt_user_client_ui_PopupPanel$4_PopupPanel$4__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$0){
  this.com_google_gwt_user_client_ui_PopupPanel$4_this$0 = this$0;
}

function com_google_gwt_user_client_ui_PopupPanel$4(){
}

_ = com_google_gwt_user_client_ui_PopupPanel$4_PopupPanel$4__Lcom_google_gwt_user_client_ui_PopupPanel_2V.prototype = com_google_gwt_user_client_ui_PopupPanel$4.prototype = new java_lang_Object;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_PopupPanel$4_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$4_12_1classLit;
}
;
_.onValueChange__Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2V = function com_google_gwt_user_client_ui_PopupPanel$4_onValueChange__Lcom_google_gwt_event_logical_shared_ValueChangeEvent_2V(event){
  this.com_google_gwt_user_client_ui_PopupPanel$4_this$0.com_google_gwt_user_client_ui_PopupPanel_autoHideOnHistoryEvents && com_google_gwt_user_client_ui_PopupPanel_$hide__Lcom_google_gwt_user_client_ui_PopupPanel_2ZV(this.com_google_gwt_user_client_ui_PopupPanel$4_this$0, false);
}
;
_.java_lang_Object_castableTypeMap$ = {31:1, 81:1};
_.com_google_gwt_user_client_ui_PopupPanel$4_this$0 = null;
function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$maybeShowGlass__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static){
  if (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing) {
    if (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_isGlassEnabled) {
      $doc.body.appendChild(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_glass);
      com_google_gwt_user_client_ui_PopupPanel_$clinit__V();
      this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_resizeRegistration = com_google_gwt_user_client_Window_addResizeHandler__Lcom_google_gwt_event_logical_shared_ResizeHandler_2Lcom_google_gwt_event_shared_HandlerRegistration_2(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_glassResizer);
      com_google_gwt_user_client_ui_PopupPanel$1_$onResize__Lcom_google_gwt_user_client_ui_PopupPanel$1_2Lcom_google_gwt_event_logical_shared_ResizeEvent_2V();
      this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_glassShowing = true;
    }
  }
   else if (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_glassShowing) {
    $doc.body.removeChild(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_glass);
    com_google_gwt_user_client_ui_PopupPanel_$clinit__V();
    com_google_web_bindery_event_shared_SimpleEventBus$1_$removeHandler__Lcom_google_web_bindery_event_shared_SimpleEventBus$1_2V(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_resizeRegistration.com_google_gwt_event_shared_LegacyHandlerWrapper_real);
    this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_resizeRegistration = null;
    this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_glassShowing = false;
  }
}

function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onComplete__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static){
  if (!this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing) {
    com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$maybeShowGlass__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static);
    this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_isUnloading || com_google_gwt_user_client_ui_AbsolutePanel_$remove__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z((com_google_gwt_user_client_ui_RootPanel_$clinit__V() , com_google_gwt_user_client_ui_RootPanel_get__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_RootPanel_2()), this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel);
    com_google_gwt_user_client_ui_PopupPanel_$clinit__V();
    this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element;
  }
  com_google_gwt_user_client_ui_impl_PopupImplMozilla_$setClip__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V((com_google_gwt_user_client_ui_PopupPanel_$clinit__V() , this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element), 'rect(auto, auto, auto, auto)');
  this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element.style[$intern_67] = $intern_191;
}

function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onInstantaneousRun__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static){
  com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$maybeShowGlass__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static);
  if (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing) {
    this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element.style[$intern_65] = $intern_66;
    this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_topPosition != -1 && com_google_gwt_user_client_ui_PopupPanel_$setPopupPosition__Lcom_google_gwt_user_client_ui_PopupPanel_2IIV(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_leftPosition, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_topPosition);
    com_google_gwt_user_client_ui_AbsolutePanel_$add__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2V((com_google_gwt_user_client_ui_RootPanel_$clinit__V() , com_google_gwt_user_client_ui_RootPanel_get__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_RootPanel_2()), this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel);
    com_google_gwt_user_client_ui_PopupPanel_$clinit__V();
    this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element;
  }
   else {
    this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_isUnloading || com_google_gwt_user_client_ui_AbsolutePanel_$remove__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2Z((com_google_gwt_user_client_ui_RootPanel_$clinit__V() , com_google_gwt_user_client_ui_RootPanel_get__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_RootPanel_2()), this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel);
    com_google_gwt_user_client_ui_PopupPanel_$clinit__V();
    this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element;
  }
  this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element.style[$intern_67] = $intern_191;
}

function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onUpdate__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2DV(this$static, progress){
  var bottom, height, left, right, top, width;
  this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing || (progress = 1 - progress);
  top = 0;
  left = 0;
  right = 0;
  bottom = 0;
  height = ~~Math.max(Math.min(progress * this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetHeight, 2147483647), -2147483648);
  width = ~~Math.max(Math.min(progress * this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetWidth, 2147483647), -2147483648);
  switch (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_animType) {
    case 2:
      right = this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetWidth;
      bottom = height;
      break;
    case 0:
      top = this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetHeight - height >> 1;
      left = this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetWidth - width >> 1;
      right = left + width;
      bottom = top + height;
      break;
    case 1:
      right = width;
      bottom = height;
  }
  com_google_gwt_user_client_ui_impl_PopupImplMozilla_$setClip__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V((com_google_gwt_user_client_ui_PopupPanel_$clinit__V() , this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element), 'rect(' + top + $intern_203 + right + $intern_203 + bottom + $intern_203 + left + 'px)');
}

function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$setState__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2ZZV(this$static, showing, isUnloading){
  var animate;
  this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_isUnloading = isUnloading;
  com_google_gwt_animation_client_Animation_$cancel__Lcom_google_gwt_animation_client_Animation_2V(this$static);
  if (this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer) {
    com_google_gwt_user_client_Timer_$cancel__Lcom_google_gwt_user_client_Timer_2V(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer);
    this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer = null;
    com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onComplete__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static);
  }
  this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_showing = showing;
  com_google_gwt_user_client_ui_PopupPanel_$updateHandlers__Lcom_google_gwt_user_client_ui_PopupPanel_2V(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel);
  animate = !isUnloading && this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_isAnimationEnabled;
  this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_animType != 0 && !showing && (animate = false);
  this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing = showing;
  if (animate) {
    if (showing) {
      com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$maybeShowGlass__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static);
      this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element.style[$intern_65] = $intern_66;
      this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_topPosition != -1 && com_google_gwt_user_client_ui_PopupPanel_$setPopupPosition__Lcom_google_gwt_user_client_ui_PopupPanel_2IIV(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_leftPosition, this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_PopupPanel_topPosition);
      com_google_gwt_user_client_ui_impl_PopupImplMozilla_$setClip__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V((com_google_gwt_user_client_ui_PopupPanel_$clinit__V() , this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element), 'rect(0px, 0px, 0px, 0px)');
      com_google_gwt_user_client_ui_AbsolutePanel_$add__Lcom_google_gwt_user_client_ui_AbsolutePanel_2Lcom_google_gwt_user_client_ui_Widget_2V((com_google_gwt_user_client_ui_RootPanel_$clinit__V() , com_google_gwt_user_client_ui_RootPanel_get__Ljava_lang_String_2Lcom_google_gwt_user_client_ui_RootPanel_2()), this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel);
      this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element;
      this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer = new com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_PopupPanel$ResizeAnimation$1__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static);
      com_google_gwt_user_client_Timer_$schedule__Lcom_google_gwt_user_client_Timer_2IV(this$static.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer, 1);
    }
     else {
      com_google_gwt_animation_client_Animation_$run__Lcom_google_gwt_animation_client_Animation_2IDV(this$static, 200, (new Date).getTime());
    }
  }
   else {
    com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onInstantaneousRun__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$static);
  }
}

function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_PopupPanel$ResizeAnimation__Lcom_google_gwt_user_client_ui_PopupPanel_2V(panel){
  this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel = panel;
}

function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation(){
}

_ = com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_PopupPanel$ResizeAnimation__Lcom_google_gwt_user_client_ui_PopupPanel_2V.prototype = com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation.prototype = new com_google_gwt_animation_client_Animation;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$ResizeAnimation_12_1classLit;
}
;
_.onComplete__V = function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_onComplete__V(){
  com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onComplete__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this);
}
;
_.onStart__V = function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_onStart__V(){
  this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetHeight = parseInt(this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element[$intern_190]) || 0;
  this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetWidth = parseInt(this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element[$intern_189]) || 0;
  this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel.com_google_gwt_user_client_ui_UIObject_element.style[$intern_67] = $intern_68;
  com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onUpdate__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2DV(this, (1 + Math.cos(3.141592653589793)) / 2);
}
;
_.onUpdate__DV = function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_onUpdate__DV(progress){
  com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_$onUpdate__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2DV(this, progress);
}
;
_.java_lang_Object_castableTypeMap$ = {42:1};
_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_curPanel = null;
_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_glassShowing = false;
_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_isUnloading = false;
_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetHeight = 0;
_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_offsetWidth = -1;
_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_resizeRegistration = null;
_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer = null;
_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showing = false;
function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_PopupPanel$ResizeAnimation$1__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V(this$1){
  com_google_gwt_user_client_Timer_$clinit__V();
  this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_this$1 = this$1;
}

function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1(){
}

_ = com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_PopupPanel$ResizeAnimation$1__Lcom_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_2V.prototype = com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1.prototype = new com_google_gwt_user_client_Timer;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$ResizeAnimation$1_12_1classLit;
}
;
_.run__V = function com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_run__V(){
  this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_this$1.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation_showTimer = null;
  com_google_gwt_animation_client_Animation_$run__Lcom_google_gwt_animation_client_Animation_2IDV(this.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_this$1, 200, (new Date).getTime());
}
;
_.java_lang_Object_castableTypeMap$ = {66:1};
_.com_google_gwt_user_client_ui_PopupPanel$ResizeAnimation$1_this$1 = null;
_ = com_google_gwt_user_client_ui_ScrollPanel.prototype;
_.setHeight__Ljava_lang_String_2V = function com_google_gwt_user_client_ui_ScrollPanel_setHeight__Ljava_lang_String_2V(height){
  this.com_google_gwt_user_client_ui_UIObject_element.style[$intern_77] = height;
}
;
_.setWidth__Ljava_lang_String_2V = function com_google_gwt_user_client_ui_ScrollPanel_setWidth__Ljava_lang_String_2V(width){
  this.com_google_gwt_user_client_ui_UIObject_element.style[$intern_76] = width;
}
;
function com_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_$ensureDebugId__Lcom_google_gwt_user_client_ui_UIObject$DebugIdImplEnabled_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2Ljava_lang_String_2V(elem, baseID, id){
  baseID = baseID.length > 0?baseID + $intern_178:$intern_3;
  elem[$intern_7] = 'gwt-debug-' + baseID + id;
}

function com_google_gwt_user_client_ui_impl_ClippedImagePrototype_$getHTML__Lcom_google_gwt_user_client_ui_impl_ClippedImagePrototype_2Ljava_lang_String_2(this$static){
  return com_google_gwt_user_client_ui_impl_ClippedImageImpl_$getHTML__Lcom_google_gwt_user_client_ui_impl_ClippedImageImpl_2Ljava_lang_String_2IIIILjava_lang_String_2(this$static.com_google_gwt_user_client_ui_impl_ClippedImagePrototype_url, this$static.com_google_gwt_user_client_ui_impl_ClippedImagePrototype_left, this$static.com_google_gwt_user_client_ui_impl_ClippedImagePrototype_top, this$static.com_google_gwt_user_client_ui_impl_ClippedImagePrototype_width, this$static.com_google_gwt_user_client_ui_impl_ClippedImagePrototype_height);
}

function com_google_gwt_user_client_ui_impl_FocusImplStandard_$createFocusHandler__Lcom_google_gwt_user_client_ui_impl_FocusImplStandard_2Lcom_google_gwt_core_client_JavaScriptObject_2(){
  return function(evt){
    var div = this.parentNode;
    div.onfocus && $wnd.setTimeout(function(){
      div.focus();
    }
    , 0);
  }
  ;
}

function com_google_gwt_user_client_ui_impl_FocusImplStandard_createFocusable0__Lcom_google_gwt_core_client_JavaScriptObject_2Lcom_google_gwt_user_client_Element_2(focusHandler){
  var div = $doc.createElement($intern_2);
  div.tabIndex = 0;
  var input = $doc.createElement($intern_89);
  input.type = 'text';
  input.tabIndex = -1;
  var style = input.style;
  style.opacity = 0;
  style.height = $intern_204;
  style.width = $intern_204;
  style.zIndex = -1;
  style.overflow = $intern_68;
  style.position = $intern_66;
  input.addEventListener($intern_91, focusHandler, false);
  div.appendChild(input);
  return div;
}

var com_google_gwt_user_client_ui_impl_FocusImplStandard_focusHandler = null;
function com_google_gwt_user_client_ui_impl_PopupImplMozilla_$clinit__V(){
  com_google_gwt_user_client_ui_impl_PopupImplMozilla_$clinit__V = nullMethod;
  com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac = com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac__Z();
}

function com_google_gwt_user_client_ui_impl_PopupImplMozilla_$createElement__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2(){
  var outerElem;
  outerElem = $doc.createElement($intern_2);
  if (com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac) {
    outerElem.innerHTML = '<div><\/div>';
    com_google_gwt_user_client_DeferredCommand_addCommand__Lcom_google_gwt_user_client_Command_2V(new com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_PopupImplMozilla$1__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2V(outerElem));
  }
  return outerElem;
}

function com_google_gwt_user_client_ui_impl_PopupImplMozilla_$getContainerElement__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(outerElem){
  return com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac?com_google_gwt_dom_client_DOMImpl_$getFirstChildElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(outerElem):outerElem;
}

function com_google_gwt_user_client_ui_impl_PopupImplMozilla_$getStyleElement__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Lcom_google_gwt_dom_client_Element_2(outerElem){
  return com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac?outerElem:com_google_gwt_dom_client_DOMImpl_$getParentElement__Lcom_google_gwt_dom_client_DOMImpl_2Lcom_google_gwt_dom_client_Node_2Lcom_google_gwt_dom_client_Element_2(outerElem);
}

function com_google_gwt_user_client_ui_impl_PopupImplMozilla_$setClip__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2Lcom_google_gwt_dom_client_Element_2Ljava_lang_String_2V(popup, rect){
  popup.style['clip'] = rect;
  popup.style[$intern_75] = (com_google_gwt_dom_client_Style$Display_$clinit__V() , $intern_16);
  popup.style[$intern_75] = $intern_3;
}

function com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac__Z(){
  function makeVersion(result){
    return parseInt(result[1]) * 1000 + parseInt(result[2]);
  }

  var ua = navigator.userAgent;
  if (ua.indexOf('Macintosh') != -1) {
    var result = /rv:([0-9]+)\.([0-9]+)/.exec(ua);
    if (result && result.length == 3) {
      if (makeVersion(result) <= 1008) {
        return true;
      }
    }
  }
  return false;
}

var com_google_gwt_user_client_ui_impl_PopupImplMozilla_isFF2Mac;
function com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_PopupImplMozilla$1__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2V(val$outerElem){
  this.com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_val$outerElem = val$outerElem;
}

function com_google_gwt_user_client_ui_impl_PopupImplMozilla$1(){
}

_ = com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_PopupImplMozilla$1__Lcom_google_gwt_user_client_ui_impl_PopupImplMozilla_2V.prototype = com_google_gwt_user_client_ui_impl_PopupImplMozilla$1.prototype = new java_lang_Object;
_.execute__V = function com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_execute__V(){
  this.com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_val$outerElem.style[$intern_67] = (com_google_gwt_dom_client_Style$Overflow_$clinit__V() , $intern_132);
}
;
_.getClass__Ljava_lang_Class_2$ = function com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_getClass__Ljava_lang_Class_2(){
  return com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1impl_1PopupImplMozilla$1_12_1classLit;
}
;
_.java_lang_Object_castableTypeMap$ = {64:1};
_.com_google_gwt_user_client_ui_impl_PopupImplMozilla$1_val$outerElem = null;
var com_google_gwt_lang_ClassLiteralHolder_Lcom_1fzy_1client_1menu_1CwMenuBar$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_149, 'CwMenuBar$1'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1event_1dom_1client_1BlurEvent_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_158, 'BlurEvent'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1lang_1asyncloaders_1AsyncLoader1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_165, 'AsyncLoader1'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1BaseListenerWrapper_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_151, 'BaseListenerWrapper'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'PopupPanel'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1DecoratedPopupPanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'DecoratedPopupPanel'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1DecoratorPanel_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'DecoratorPanel'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1ListenerWrapper_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'ListenerWrapper'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1ListenerWrapper$WrappedPopupListener_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'ListenerWrapper$WrappedPopupListener'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuBar_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'MenuBar'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuBar$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'MenuBar$1'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuBar$2_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'MenuBar$2'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuBar$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'MenuBar$3'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuBar$4_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'MenuBar$4'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuItem_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'MenuItem'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1MenuItemSeparator_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'MenuItemSeparator'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'PopupPanel$1'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$3_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'PopupPanel$3'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$4_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'PopupPanel$4'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$ResizeAnimation_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'PopupPanel$ResizeAnimation'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1PopupPanel$ResizeAnimation$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_145, 'PopupPanel$ResizeAnimation$1'), com_google_gwt_lang_ClassLiteralHolder_Lcom_1google_1gwt_1user_1client_1ui_1impl_1PopupImplMozilla$1_12_1classLit = java_lang_Class_createForClass__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_Class_2Ljava_lang_Class_2($intern_175, 'PopupImplMozilla$1');
$entry(com_google_gwt_lang_asyncloaders_AsyncLoader1_onLoad__V)();
